Live threats

All CVEs / Cloudflare

CVE-2021-3761Cloudflare Octorpki

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Sep 9, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Any CA issuer in the RPKI can trick OctoRPKI prior to 1.3.0 into emitting an invalid VRP "MaxLength" value, causing RTR sessions to terminate. An attacker can use this to disable RPKI Origin Validation in a victim network (for example AS 13335 - Cloudflare) prior to launching a BGP hijack which during normal operations would be rejected as "RPKI invalid". Additionally, in certain deployments RTR session flapping in and of itself also could cause BGP routing churn, causing availability issues.

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.3.0 1.3.0 go get github.com/cloudflare/cfrpki@v1.3.0
Go github.com/cloudflare/cfrpki < 1.3.0 1.3.0 go get github.com/cloudflare/cfrpki@v1.3.0

Per OSV / GitHub Advisories (GHSA-c8xp-8mf3-62h9, GO-2022-0246). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cloudflareoctorpki< 1.3.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.