What’s Vulnerable › Vulnerabilities

CVE-2021-3907: Arbitrary filepath traversal via URI injection

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.

Affected products

How to fix

Upgrade to a fixed version: Cloudflare octorpki 1.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-3907 or the next vulnerability affects your stack