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

Published Sep 9, 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.

Affected Software

3 affected componentsFixes available
debian/cfrpki
1.4.2-1~deb11u11.4.4-11.5.10-2
Cloudflare OctoRPKI<1.3.0
Debian Debian Linux=11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/cfrpki to a version that resolves this vulnerability.

    Fixed in 1.4.2-1~deb11u1Fixed in 1.4.4-1Fixed in 1.5.10-2
  2. Upgrade

    Upgrade OctoRPKI to a version that resolves this vulnerability.

    Fixed in 1.3.0

Event History

Sep 9, 2021
CVE Published
via MITRE·02:05 PM
Data Sourced
via MITRE·02:05 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

What is the severity of CVE-2021-3761?

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

4

How can I fix CVE-2021-3761?

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

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203