CVE-2021-3907: OctoRPKI - Path Traversal
- Cve: CVE-2021-3907
- Name: OctoRPKI - Path Traversal
- 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.
- Impact: Remote attackers can create files outside the cache directory, potentially leading to remote code execution on the host machine.
- Remediation: Implement proper URI escaping and validation to prevent directory traversal.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.04117
- Epss percentile: 0.91037
- Assignee: [email protected]
- Published at: 2021-11-11T22:15:07Z
- Age in days: 1839
- Modified at: 2026-06-17T04:05:58Z
- Patch available: yes
- References total: 4
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3907
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
- Tags: Third Party Advisory
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cloudflare:octorpki | < 1.3.0 | no | nvd | /v1/products/cloudflare/octorpki |
| debian:debian_linux | = 11.0, = 10.0 | no | nvd | /v1/products/debian/debian_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| cloudflare/cfrpki | commit, package, security_advisory | yes | /v1/repositories/cloudflare/cfrpki |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since