Vulnerability · Published Nov 11, 2021 · Assigned by cloudflare

CVE-2021-3907Arbitrary filepath traversal via URI injection

High 7.4

In plain English

A high-severity improper input validation in octorpki from Cloudflare. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.2% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)4.2%top 9.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12cfrpki1.4.0-1DEBIAN-CVE-2021-3907
Debian:12fort-validator1.5.3-1DEBIAN-CVE-2021-3907
Debian:13fort-validator1.5.3-1DEBIAN-CVE-2021-3907
Debian:14fort-validator1.5.3-1DEBIAN-CVE-2021-3907
Gogithub.com/cloudflare/cfrpki1.4.4GHSA-cqh2-vc2f-q4fh
Gogithub.com/cloudflare/cfrpki1.4.4GO-2022-0248
Gogithub.com/cloudflare/cfrpki1.4.3GHSA-8459-6rc9-8vf8

Affected products (as reported)

VendorProductVersions
Cloudflare octorpki unspecified – before 1.4.3

Weakness: CWE-20, CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

References