GO-2022-0252

Source
https://pkg.go.dev/vuln/GO-2022-0252
Import Source
https://vuln.go.dev/ID/GO-2022-0252.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2022-0252
Aliases
Published
2022-07-15T23:07:41Z
Modified
2024-05-20T16:03:47Z
Summary
Panic on misconfigured IP address in github.com/cloudflare/cfrpki
Details

OctoRPKI crashes when a repository returns an ROA with a IP address that contains too many bits.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0252"
}
References
Credits
    • Koen van Hove

Affected packages

Go / github.com/cloudflare/cfrpki

Package

Name
github.com/cloudflare/cfrpki
View open source insights on deps.dev
Purl
pkg:golang/github.com/cloudflare/cfrpki

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/cloudflare/cfrpki/validator/lib",
            "symbols": [
                "DecodeROA",
                "DecoderConfig.DecodeROA",
                "GetRangeIP",
                "IPNet.GetRange",
                "RPKICertificate.ValidateIPCertificate",
                "RPKIROA.ValidateIPRoaCertificate",
                "ValidateIPCertificateList",
                "ValidateIPRoaCertificateList"
            ]
        }
    ]
}