CVE-2021-3907
CRITICAL 9.8CVSS 3.1Path traversal in github.com/cloudflare/cfrpki/cmd/octorpki
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.
- Published
- 11 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cna@cloudflare.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-22
- Also known as
- GHSA-8459-6rc9-8vf8GHSA-cqh2-vc2f-q4fhGO-2022-0248
- Sources
- NVDJSONOSV GHSA-8459-6rc9-8vf8JSONOSV GHSA-cqh2-vc2f-q4fhJSONOSV GO-2022-0248JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | cna@cloudflare.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cloudflare | octorpkicpe:2.3:a:cloudflare:octorpki:*:*:*:*:*:*:*:* |
< 1.3.0 | 1.3.0 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | Go | github.com/cloudflare/cfrpki | < 1.4.3 | 1.4.3 |
| OSV | Go | github.com/cloudflare/cfrpki | < 1.4.4 | 1.4.4 |
References
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-3jhm-87m6-x959 · Third Party Advisory, WEB
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-cqh2-vc2f-q4fh · Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-5033 · Third Party Advisory, WEB
- https://www.debian.org/security/2022/dsa-5041 · Third Party Advisory, WEB
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-8459-6rc9-8vf8 · WEB
- https://github.com/cloudflare/cfrpki/commit/a053a808feeb3115c76b6cc263ee55598ce6e8cd · WEB, FIX
- https://github.com/cloudflare/cfrpki/commit/eb9cc4db7b7b79e44f56dfaa959fccdfb2af8284 · WEB, FIX
- https://github.com/cloudflare/cfrpki · PACKAGE
- https://github.com/cloudflare/cfrpki/releases/tag/v1.4.3 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3907 · ADVISORY
- https://pkg.go.dev/vuln/GO-2022-0248 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 11 Nov 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Nov 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Feb 2022)