CVE-2021-3907

CRITICALCVSS 9.8/10EPSS 4.06%

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
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
4.06%

89.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
CloudflareOctorpki< 1.3.0
DebianDebian Linux10.0
DebianDebian Linux11.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-3907?
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.
How severe is CVE-2021-3907?
CVE-2021-3907 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 4.06% probability of exploitation in the next 30 days.
How do I fix CVE-2021-3907?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-3907?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST