CVE-2021-3907GHSA-8459-6RC9-8VF8GHSA-CQH2-VC2F-Q4FHGO-2022-0248
Arbitrary filepath traversal via URI injection
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.4.3, 1.4.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
OctoRPKI does not escape a URI with a filename containing "..", this allows a repository to create a file, (ex. rsync://example.org/repo/../../etc/cron.daily/evil.roa), which would then be written to disk outside the base cache folder. This could allow for remote code execution on the host machine OctoRPKI is running on.
Timeline
- CVE published
- Record last updated
Affected versions
- Cloudflare octorpki
fixed in 1.4.3
- github.com/cloudflare/cfrpkiGo
fixed in 1.4.3
- github.com/cloudflare/cfrpkiGo
fixed in 1.4.4