OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values
cve-program · CVE-2021-3761
PublishedAny 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.
Read the publisher's advisoryeuvd · EUVD-2021-2036
PublishedAny 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.
Read the publisher's advisorynvd · CVE-2021-3761
PublishedAny 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.
Read the publisher's advisoryosv · GHSA-c8xp-8mf3-62h9
PublishedAny CA issuer in the RPKI can trick OctoRPKI prior to https://github.com/cloudflare/cfrpki/commit/a8db4e009ef217484598ba1fd1c595b54e0f6422 into emitting an invalid VRP "MaxLength" value, causing RTR sessions to terminate. ### Impact 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. ### Patches https://github.com/cloudflare/cfrpki/commit/a8db4e009ef217484598ba1fd1c595b54e0f6422 https://github.com/cloudflare/cfrpki/releases/tag/v1.3.0 ### For more information If you have any questions or comments about this advisory: * Email us at [[email protected]]([email protected])
Read the publisher's advisoryosv · GO-2022-0246
PublishedThe ROAEntry.Validate function fails to perform bounds checks on the MaxLength field, allowing invalid values to pass validation.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2021-3761 · CVE overview and exploitation status
cve-program · CVE-2021-3761
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-c8xp-8mf3-62h9
- https://www.debian.org/security/2022/dsa-5041
euvd · EUVD-2021-2036
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-c8xp-8mf3-62h9
- https://www.debian.org/security/2022/dsa-5041
nvd · CVE-2021-3761
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-c8xp-8mf3-62h9
- https://www.debian.org/security/2022/dsa-5041
osv · GHSA-c8xp-8mf3-62h9
- https://github.com/cloudflare/cfrpki/security/advisories/GHSA-c8xp-8mf3-62h9
- https://nvd.nist.gov/vuln/detail/CVE-2021-3761
- https://github.com/cloudflare/cfrpki/pull/90
- https://github.com/cloudflare/cfrpki/commit/a8db4e009ef217484598ba1fd1c595b54e0f6422
- https://github.com/cloudflare/cfrpki/releases/tag/v1.3.0
- https://pkg.go.dev/vuln/GO-2022-0246
- https://www.debian.org/security/2022/dsa-5041
osv · GO-2022-0246
Related changes
Linked by CVE identifierNo related changes are available here.