GO-2024-2598

Source
https://pkg.go.dev/vuln/GO-2024-2598
Import Source
https://vuln.go.dev/ID/GO-2024-2598.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2024-2598
Aliases
Related
Published
2024-03-05T22:14:58Z
Modified
2024-10-22T05:29:10.013727Z
Summary
Verify panics on certificates with an unknown public key algorithm in crypto/x509
Details

Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic.

This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default behavior is for TLS servers to not verify client certificates.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2024-2598"
}
References
Credits
    • John Howard (Google)

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.21.8
Introduced
1.22.0-0
Fixed
1.22.1

Ecosystem specific

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