Vulnerabilities / CVE-2021-3907

critical

CVE-2021-3907

OctoRPKI does not escape a URI with a filename containing "..", this a ...

Published Modified CWE 20, 22
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high), Ubuntu (medium).

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 packages and fixed versions

SourcePackageFixed in
debian 11cfrpki, fort-validator1.4.2-1~deb11u1 and 1 more
debian 12cfrpki, fort-validator1.4.0-1 and 1 more
debian 13fort-validator1.5.3-1
debian 14fort-validator1.5.3-1
echocfrpki, fort-validator1.4.0-1 and 1 more
go::GitHub Security Advisory Gogithub.com/cloudflare/cfrpki1.4.4
ubuntu 20.04-ESMfort-validatorno fix listed
Show all 10 entries from 7 sources
SourcePackageFixed in
debian 11cfrpki1.4.2-1~deb11u1
debian 11fort-validator1.5.3-1~deb11u1
debian 12cfrpki1.4.0-1
debian 12fort-validator1.5.3-1
debian 13fort-validator1.5.3-1
debian 14fort-validator1.5.3-1
echocfrpki1.4.0-1
echofort-validator1.5.3-1
go::GitHub Security Advisory Gogithub.com/cloudflare/cfrpki1.4.4
ubuntu 20.04-ESMfort-validatorno fix listed

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.