Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cloudflare | Octorpki | < 1.3.0 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-3jhm-87m6-x959Third Party Advisory
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-cqh2-vc2f-q4fhThird Party Advisory
- https://www.debian.org/security/2021/dsa-5033Third Party Advisory
- https://www.debian.org/security/2022/dsa-5041Third Party Advisory
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-3jhm-87m6-x959Third Party Advisory
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-cqh2-vc2f-q4fhThird Party Advisory
- https://www.debian.org/security/2021/dsa-5033Third Party Advisory
- https://www.debian.org/security/2022/dsa-5041Third Party Advisory
FAQ
What is CVE-2021-3907?
CVE-2021-3907 is a vulnerability with a CVSS score of 7.4 (HIGH). 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 ...
How severe is CVE-2021-3907?
CVE-2021-3907 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-3907?
Check the references section above for vendor advisories and patch information. Affected products include: Cloudflare Octorpki, Debian Debian Linux.