GO-2022-0434

See a problem?
Source
https://pkg.go.dev/vuln/GO-2022-0434
Import Source
https://vuln.go.dev/ID/GO-2022-0434.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0434
Aliases
Published
2022-05-23T21:59:00Z
Modified
2024-05-20T16:03:47Z
Summary
Panic during certificate parsing on Darwin in crypto/x509
Details

Verifying certificate chains containing certificates which are not compliant with RFC 5280 causes Certificate.Verify to panic on macOS.

These chains can be delivered through TLS and can cause a crypto/tls or net/http client to crash.

References
Credits
    • Tailscale

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.18.0-0
Fixed
1.18.1

Ecosystem specific

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