Live threats

All CVEs / Cloudflare

CVE-2021-3907Cloudflare Octorpki

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
4.1%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Nov 11, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Octorpki.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/cloudflare/cfrpki < 1.4.3 1.4.3 go get github.com/cloudflare/cfrpki@v1.4.3
Go github.com/cloudflare/cfrpki < 1.4.4 1.4.4 go get github.com/cloudflare/cfrpki@v1.4.4
Go github.com/cloudflare/cfrpki < 1.4.4 1.4.4 go get github.com/cloudflare/cfrpki@v1.4.4

Per OSV / GitHub Advisories (GHSA-8459-6rc9-8vf8, GHSA-cqh2-vc2f-q4fh, GO-2022-0248). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cloudflareoctorpki< 1.3.0
debiandebian_linux10.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.