GO-2024-2598

Source
https://pkg.go.dev/vuln/GO-2024-2598
Import Source
https://vuln.go.dev/ID/GO-2024-2598.json
Aliases
Published
2024-03-05T22:14:58Z
Modified
2024-03-12T09:11:42.636759Z
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.

References

Affected packages

Go / stdlib

Package

Name
stdlib

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown
Fixed
1.21.8
Introduced
1.22.0-0
Fixed
1.22.1

Ecosystem specific

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