CVE-2021-3761: Out-of-bounds Write
(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.
References
- github.com/advisories/GHSA-c8xp-8mf3-62h9
- github.com/cloudflare/cfrpki/commit/a8db4e009ef217484598ba1fd1c595b54e0f6422
- github.com/cloudflare/cfrpki/pull/90
- github.com/cloudflare/cfrpki/releases/tag/v1.3.0
- github.com/cloudflare/cfrpki/security/advisories/GHSA-c8xp-8mf3-62h9
- nvd.nist.gov/vuln/detail/CVE-2021-3761
- pkg.go.dev/vuln/GO-2022-0246
- www.debian.org/security/2022/dsa-5041
Detect and mitigate CVE-2021-3761 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →