Every CVE Search/ Get API key

CVE-2021-3907

Arbitrary filepath traversal via URI injection

7.4 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
High

Exploit likelihood

4.20%Up 3.3 points since Nov 12, 2021
90%50%10%1%

What each source reports

CVE List Score used 7.4

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.

Record
CVE-2021-3907
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness
CWE-20, CWE-22
Updated
2026-11-02
EUVDEUVD-2021-2338 7.4

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.

Record
EUVD-2021-2338
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-cqh2-vc2f-q4fh 7.4

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 [email protected]

Record
GHSA-cqh2-vc2f-q4fh
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness
CWE-20, CWE-22
Updated
2026-11-02
GitHub AdvisoriesGHSA-8459-6rc9-8vf8 No score

Path traversal in github.com/cloudflare/cfrpki/cmd/octorpki

Impact

In the case that a malicious TAL file is parsed pointing to a repository that provides a malicious ROA file which octorpki downloads, it is possible to bypass the current directory traversal mitigation to allow writing outside of the current directory.

Patches

No patch release has been made

Record
GHSA-8459-6rc9-8vf8
Weakness
CWE-22
Updated
2026-11-02
NVD 7.4

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.

Record
CVE-2021-3907
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-20, CWE-22
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2021-3907
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2021-3907 9.8

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.

Record
DEBIAN-CVE-2021-3907
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-cqh2-vc2f-q4fh 7.4

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 [email protected]

Record
GHSA-cqh2-vc2f-q4fh
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness
CWE-20, CWE-22
Updated
2026-11-02
OSVUBUNTU-CVE-2021-3907 9.8

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.

Record
UBUNTU-CVE-2021-3907
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Updated
2026-11-02
OSVGHSA-8459-6rc9-8vf8 No score

Path traversal in github.com/cloudflare/cfrpki/cmd/octorpki

Impact

In the case that a malicious TAL file is parsed pointing to a repository that provides a malicious ROA file which octorpki downloads, it is possible to bypass the current directory traversal mitigation to allow writing outside of the current directory.

Patches

No patch release has been made

Record
GHSA-8459-6rc9-8vf8
Weakness
CWE-22
Updated
2026-11-02
OSVGO-2022-0248 No score

Directory traversal in manifest path extraction in github.com/cloudflare/cfrpki

Manifest path extraction is vulnerable to directory traversal attacks.

The ExtractPathManifest function permits file paths containing relative directory components (".."), permitting files to reference arbitrary locations on the filesystem.

Record
GO-2022-0248
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/cloudflare/cfrpki
Go
through 1.4.2
1.4.3
github.com/cloudflare/cfrpki
Go
before 1.4.4
1.4.4
cfrpki
Debian:12
before 1.4.0-1
1.4.0-1
fort-validator
Debian:12
before 1.5.3-1
1.5.3-1
fort-validator
Debian:13
before 1.5.3-1
1.5.3-1
fort-validator
Debian:14
before 1.5.3-1
1.5.3-1
fort-validator
Debian:11
From an advisory covering 4 CVEs
before 1.5.3-1~deb11u1, plus listed versions
1.5.0-11.5.1-11.5.2-1
1.5.3-1~deb11u1
cfrpki
Debian:11
From an advisory covering 10 CVEs
before 1.4.2-1~deb11u1, plus listed versions
1.2.2-11.3.0-11.4.0-1
1.4.2-1~deb11u1
github.com/cloudflare/cfrpki
Go
before 1.4.3
1.4.3
fort-validator
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
1.1.1-21.1.2-11.1.3-11.2.0-11.2.0-1ubuntu0.1~esm1
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3907 is a high vulnerability (CVSS 7.4) in Cloudflare Octorpki, published November 10, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.20%, the 90th percentile. Fixed in github.com/cloudflare/cfrpki 1.4.3.

References

Show 10 moreShow less
MoveEnter Open