CVE-2021-3907

Arbitrary filepath traversal via URI injection

Published Nov 11, 2021 CVSS 3.1 · 7.4 High EPSS 4.2% KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to 1.4.3

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5033-1 fort-validator security update
Debian DSA Debian DSA DSA-5041-1 cfrpki security update
EUVD EUVD EUVD-2021-2338 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.
Github GHSA Github GHSA GHSA-cqh2-vc2f-q4fh Arbitrary filepath traversal via URI injection
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
cloudflare
Published
Updated
Sep 17, 2024, 3:18 AM
Reserved
Oct 26, 2021, 12:00 AM
Status
Modified
Published
Nov 11, 2021, 10:15 PM
Modified
Jun 17, 2026, 4:05 AM