What’s Vulnerable › Vulnerabilities

CVE-2021-3761: OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values

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.

Affected products

How to fix

Upgrade to a fixed version: Cloudflare octorpki 1.3.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-3761 or the next vulnerability affects your stack