CVE-2021-3761
published high CVSS 3.1 · 7.5OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cloudflare | — | octorpkiunspecified to < 1.3.0 | Affected | Not stated | cloudflare |
| Debian | bullseye | cfrpki | Advisory build | 1.4.2-1~deb11u1 | DSA-5041-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- cloudflare · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cloudflare | octorpki | unspecified to < 1.3.0 (affected · custom) | cloudflare · cna |
Weaknesses
1- Missing out of bounds check
References
2- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-c8xp-8mf3-62h9
- DSA-5041 https://www.debian.org/security/2022/dsa-5041
Provider assertions
2cloudflare · cna
OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- dfa787add6b14607461eecd4c870ecf411bd6e2efb4adb6ce686c9dd9708b2d8
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record