7.5
CWE
787
Advisory Published
Updated

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

First published: Thu Sep 09 2021(Updated: )

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.

Credit: cna@cloudflare.com

Affected SoftwareAffected VersionHow to fix
debian/cfrpki
1.4.2-1~deb11u1
1.4.4-1
1.5.10-2
Cloudflare Octorpki<1.3.0
Debian Debian Linux=11.0

Remedy

Upgrade to 1.3.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-3761?

    CVE-2021-3761 is a vulnerability in OctoRPKI prior to version 1.3.0 that allows any CA issuer in the RPKI to trick OctoRPKI into emitting an invalid VRP "MaxLength" value, causing RTR sessions to terminate.

  • How does CVE-2021-3761 affect the victim network?

    CVE-2021-3761 can be used to disable RPKI Origin Validation in a victim network (for example AS 13335 - Cloudflare) prior to launching a BGP hijack.

  • What is the severity of CVE-2021-3761?

    CVE-2021-3761 has a severity rating of high, with a CVSS score of 7.5.

  • How can I fix CVE-2021-3761?

    To fix CVE-2021-3761, update OctoRPKI to version 1.3.0 or later.

  • Where can I find more information about CVE-2021-3761?

    You can find more information about CVE-2021-3761 at the following references: [1] [2] [3]

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203