Vulnerability Details : CVE-2021-3907
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.
Vulnerability category: Directory traversalInput validationExecute code
Products affected by CVE-2021-3907
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
- cpe:2.3:a:cloudflare:octorpki:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3907
1.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 77 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3907
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
7.4
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
2.2
|
5.2
|
Cloudflare, Inc. | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-3907
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: cna@cloudflare.com (Secondary)
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by:
- cna@cloudflare.com (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2021-3907
-
https://github.com/cloudflare/cfrpki/security/advisories/GHSA-3jhm-87m6-x959
Path traversal mitigation bypass in OctoRPKI · Advisory · cloudflare/cfrpki · GitHubThird Party Advisory
-
https://www.debian.org/security/2022/dsa-5041
Debian -- Security Information -- DSA-5041-1 cfrpkiThird Party Advisory
-
https://github.com/cloudflare/cfrpki/security/advisories/GHSA-cqh2-vc2f-q4fh
Arbitrary filepath traversal via URI injection · Advisory · cloudflare/cfrpki · GitHubThird Party Advisory
-
https://www.debian.org/security/2021/dsa-5033
Debian -- Security Information -- DSA-5033-1 fort-validatorThird Party Advisory
Jump to