Skip to content
Fencer Vulns
high 7.4

CVE-2021-3907 json

Arbitrary filepath traversal via URI injection

published 2021-11-10 4 y ago modified 2026-06-17 4 mo ago also GHSA-8459-6rc9-8vf8 , GHSA-cqh2-vc2f-q4fh , GO-2022-0248 , EUVD-2021-2338

cvss
7.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
4.2%
EPSS 4.2% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/cloudflare/cfrpki 1.4.3, 1.4.4
  • Cloudflare octorpki 1.4.3
  • cfrpki Debian 12 1.4.0-1
  • fort-validator Debian 14, Debian 13, Debian 12 1.5.3-1

debian advisories DEBIAN-CVE-2021-3907

Exploit prediction

4.20% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.1 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/cloudflare/cfrpki
<1.4.3
<1.4.4
1.4.3
1.4.4

Affected products

  • Cloudflare octorpki

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.