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
References
-
github.com
/cloudflare/cfrpki/commit/a053a808feeb3115c76b6cc263ee55598ce6e8cd
web, patch
-
github.com
/cloudflare/cfrpki/commit/eb9cc4db7b7b79e44f56dfaa959fccdfb2af8284
web, patch
-
debian.org
/security/2021/dsa-5033
vendor-advisory, web, third-party-advisory
-
debian.org
/security/2022/dsa-5041
vendor-advisory, web, third-party-advisory
-
github.com
/cloudflare/cfrpki/security/advisories/GHSA-cqh2-vc2f-q4fh
web, third-party-advisory
-
github.com
/cloudflare/cfrpki/security/advisories/GHSA-3jhm-87m6-x959
web, third-party-advisory
-
github.com
/cloudflare/cfrpki/security/advisories/GHSA-8459-6rc9-8vf8
web
-
github.com
/cloudflare/cfrpki
package
-
github.com
/cloudflare/cfrpki/releases/tag/v1.4.3
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-3907
advisory
-
pkg.go.dev
/vuln/GO-2022-0248
web
Sources
- CVE List CVE-2021-3907
- GitHub Advisory GHSA-8459-6rc9-8vf8
- GitHub Advisory GHSA-cqh2-vc2f-q4fh
- NVD CVE-2021-3907
- OSV GO-2022-0248
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.