First published: Mon Nov 01 2021(Updated: )
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. ## Patches ## For more information If you have any questions or comments about this advisory email us at security@cloudflare.com
Credit: cna@cloudflare.com cna@cloudflare.com
Affected Software | Affected Version | How to fix |
---|---|---|
Cloudflare Octorpki | <1.3.0 | |
Debian Debian Linux | =10.0 | |
Debian Debian Linux | =11.0 | |
debian/cfrpki | 1.4.2-1~deb11u1 1.4.4-1 1.5.10-2 | |
debian/fort-validator | 1.5.3-1~deb11u1 1.5.4-1 1.6.1-1 | |
go/github.com/cloudflare/cfrpki | <1.4.4 | 1.4.4 |
Upgrade to 1.4.3
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-3907 is a vulnerability in OctoRPKI that allows a repository to create a file outside the base cache folder, potentially leading to remote code execution on the host machine.
CVE-2021-3907 has a severity rating of 9.8 (Critical).
The affected software includes OctoRPKI versions 1.3.0 (up to exclusive), 1.4.2-1~deb11u1, 1.4.4-1, 1.5.3-1~deb11u1, and 1.5.4-1, as well as Cloudflare Octorpki and Debian Linux versions 10.0 and 11.0.
To fix CVE-2021-3907, it is recommended to update OctoRPKI and affected software versions to the appropriate patched versions provided by the software vendors.
More information about CVE-2021-3907 can be found at the following references: [GitHub Advisory](https://github.com/cloudflare/cfrpki/security/advisories/GHSA-cqh2-vc2f-q4fh), [Debian Security Tracker](https://security-tracker.debian.org/tracker/CVE-2021-3907), [Cloudflare Advisory](https://github.com/cloudflare/cfrpki/security/advisories/GHSA-3jhm-87m6-x959).