CVE-2021-3761Cloudflare Octorpki
High 7.5 No auth needed
Follow: this CVE · Cloudflare · Cloudflare Octorpki We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Octorpki.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| cloudflare | octorpki | < 1.3.0 |
| debian | debian_linux | 11.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- www.debian.org Third Party Advisory