Skip to content
OpenAdvisories
High · 7.4 CVE-2021-3907 EUVD-2021-2338GHSA-8459-6rc9-8vf8GHSA-cqh2-vc2f-q4fhGO-2022-0248

Arbitrary filepath traversal via URI injection

Published Nov 11, 2021 · Updated Sep 17, 2024 · Assigned by cloudflare

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.

Affected products

VendorProductAffectedFixed
Cloudflare octorpki unspecified – < 1.4.3 1.4.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 fort-validator 1.5.3-1 —
Debian 13 fort-validator 1.5.3-1 —
Debian 12 cfrpki 1.4.0-1 —
Debian 12 fort-validator 1.5.3-1 —
Debian 11 cfrpki 1.4.2-1~deb11u1 DSA-5041-1
Debian 11 fort-validator 1.5.3-1~deb11u1 DSA-5033-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS fort-validator No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/cloudflare/cfrpki < 1.4.3 1.4.3 GHSA-8459-6rc9-8vf8
Go github.com/cloudflare/cfrpki < 1.4.4 1.4.4 GHSA-cqh2-vc2f-q4fh

Advisories 2

References