GO-2022-0246

Source
https://pkg.go.dev/vuln/GO-2022-0246
Import Source
https://vuln.go.dev/ID/GO-2022-0246.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0246
Aliases
Published
2022-07-15T23:06:38Z
Modified
2024-05-20T16:03:47Z
Summary
Insufficient validation in github.com/cloudflare/cfrpki
Details

The ROAEntry.Validate function fails to perform bounds checks on the MaxLength field, allowing invalid values to pass validation.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0246"
}
References
Credits
    • Job Snijders

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.3.0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/cloudflare/cfrpki/validator/lib",
            "symbols": [
                "ROAEntry.Validate",
                "RPKIROA.ValidateEntries"
            ]
        }
    ]
}