Oscal-compass compliance-trestle
compliance-trestle - jinja has an Arbitrary File Write via Path Traversal
compliance-trestle is a tooling platform for managing compliance as code. Prior to versions 3.12.2 and 4.0.3, the `-o/--output` argument in `trestle author jinja` allows writing files outside the intended workspace. The application does not properly validate, `../`, `..\`, or absolute paths. This allows arbitrary file write to attacker-controlled locations. Versions 3.12.3 and 4.0.3 patch the issue.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.4high · scored by CNA · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
oscal-compass compliance-trestle
- >= 4.0.0, < 4.0.3
- < 3.12.2
Fixed in 4.0.3, 3.12.2
Mitigation
Upgrade compliance-trestle to 4.0.3 or 3.12.2 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.