Loading HuntDB...

GHSA-c8xp-8mf3-62h9

GitHub Security Advisory

OctoRPKI lacks contextual out-of-bounds check when validating RPKI ROA maxLength values

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

Any 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])

Affected Packages

Go github.com/cloudflare/cfrpki
Affected versions: 0 (fixed in 1.3.0)

Related CVEs

Key Information

GHSA ID
GHSA-c8xp-8mf3-62h9
Published
September 7, 2021 11:02 PM
Last Modified
September 3, 2021 9:40 PM
CVSS Score
7.5 /10
Primary Ecosystem
Go
Primary Package
github.com/cloudflare/cfrpki
GitHub Reviewed
✓ Yes

Dataset

Last updated: September 12, 2025 6:34 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.