GO-2025-3749

Source
https://pkg.go.dev/vuln/GO-2025-3749
Import Source
https://vuln.go.dev/ID/GO-2025-3749.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2025-3749
Aliases
Published
2025-06-11T16:23:50Z
Modified
2025-06-16T20:08:41Z
Summary
Usage of ExtKeyUsageAny disables policy validation in crypto/x509
Details

Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2025-3749"
}
References
Credits
    • Krzysztof Skrzętnicki (@Tener) of Teleport

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.24.0-0
Fixed
1.24.4

Ecosystem specific

{
    "imports": [
        {
            "path": "crypto/x509",
            "symbols": [
                "Certificate.Verify"
            ]
        }
    ]
}