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

- Severity: High 7.4 (CVSS:3.1, scored by cloudflare) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.12%, higher than 91% of CVEs (2026-12-01)
- Published: 2021-11-10T20:08:29.000Z
- Modified: 2026-06-17T04:05:58.127Z
- Also known as: GHSA-8459-6rc9-8vf8, GHSA-cqh2-vc2f-q4fh, GO-2022-0248
- Related: GHSA-3jhm-87m6-x959
- Weaknesses: CWE-20, CWE-22
- Assigned by: cloudflare

## 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.

(As written by CVE List.)

## Affected

- Cloudflare octorpki: from unspecified before 1.4.3; before 1.3.0
- github.com/cloudflare/cfrpki (Go): before 1.4.3; before 1.4.4
- debian debian_linux: 10.0; 11.0

## Every score

- cloudflare: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: rating Low
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <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, vendor-advisory, web)
- <https://www.debian.org/security/2022/dsa-5041> (third-party-advisory, vendor-advisory, web)
- <https://github.com/cloudflare/cfrpki/security/advisories/GHSA-3jhm-87m6-x959> (third-party-advisory, web)
- <https://github.com/cloudflare/cfrpki/security/advisories/GHSA-8459-6rc9-8vf8> (web)
- <https://github.com/cloudflare/cfrpki/commit/a053a808feeb3115c76b6cc263ee55598ce6e8cd> (fix, web)
- <https://github.com/cloudflare/cfrpki/commit/eb9cc4db7b7b79e44f56dfaa959fccdfb2af8284> (fix, web)
- <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)

## Sources

- CVE List: [CVE-2021-3907](https://www.cve.org/CVERecord?id=CVE-2021-3907), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-8459-6rc9-8vf8](https://github.com/advisories/GHSA-8459-6rc9-8vf8), CC-BY-4.0, modified 2025-01-14
- GitHub Advisory Database: [GHSA-cqh2-vc2f-q4fh](https://github.com/advisories/GHSA-cqh2-vc2f-q4fh), CC-BY-4.0, modified 2026-02-04
- Go Vulnerability Database: [GO-2022-0248](https://pkg.go.dev/vuln/GO-2022-0248), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2021-3907](https://nvd.nist.gov/vuln/detail/CVE-2021-3907), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3907 · Whole record: https://cve.day/CVE-2021-3907.json · Rebuilt by cve.day 2026-11-25T22:58:05.487Z
