CVE-2021-3907
Last modified
CVE-2021-3907 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 4.06% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cloudflare | Octorpki | < 1.3.0 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3907?
How severe is CVE-2021-3907?
How do I fix CVE-2021-3907?
Are you affected by CVE-2021-3907?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
