CVE-2021-3907 – github.com/cloudflare/cfrpki
Package
Manager: go
Name: github.com/cloudflare/cfrpki
Vulnerable Version: >=0 <1.4.4
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.01536 pctl0.80656
Details
Arbitrary filepath traversal via URI injection 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. ## Patches ## For more information If you have any questions or comments about this advisory email us at security@cloudflare.com
Metadata
Created: 2021-11-10T20:08:29Z
Modified: 2021-11-10T18:16:54Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-cqh2-vc2f-q4fh/GHSA-cqh2-vc2f-q4fh.json
CWE IDs: ["CWE-20", "CWE-22"]
Alternative ID: GHSA-cqh2-vc2f-q4fh
Finding: F063
Auto approve: 1