CyberRota Analysis
AI-GeneratedThe compliance-trestle library is vulnerable due to its improper handling of remote fetching cache paths, allowing attackers to exploit path traversal sequences to write arbitrary files outside the intended cache directory. This could lead to unauthorized file manipulation on the filesystem, posing significant risks to data integrity and security. Organizations using affected versions should prioritize updating to versions 3.12.3 or 4.0.3 to mitigate this high-severity vulnerability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
compliance-trestle is a tooling platform for managing compliance as code. Prior to versiions 3.12.2 and 4.0.3, the compliance-trestle library's remote fetching cache mechanism (HTTPSFetcher and SFTPFetcher) constructs the local cache file path from the URL path component without sanitizing path traversal sequences (`../`). When a remote OSCAL profile references a URL with traversal in its path, the HTTP response body is written to a location outside the intended cache directory, enabling arbitrary file write with attacker-controlled content to the filesystem. Versions 3.12.3 and 4.0.3 patch the issue.