CVE-2021-3761

OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values

Published Sep 9, 2021 CVSS 3.1 · 7.5 High EPSS 1.2% KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to 1.3.0

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5041-1 cfrpki security update
EUVD EUVD EUVD-2021-2036 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.
Github GHSA Github GHSA GHSA-c8xp-8mf3-62h9 OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
cloudflare
Published
Updated
Sep 17, 2024, 2:56 AM
Reserved
Sep 1, 2021, 12:00 AM
Status
Modified
Published
Sep 9, 2021, 2:15 PM
Modified
Jun 17, 2026, 4:05 AM