GO-2022-0191

Source
https://pkg.go.dev/vuln/GO-2022-0191
Import Source
https://vuln.go.dev/ID/GO-2022-0191.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0191
Aliases
Published
2022-07-15T23:03:26Z
Modified
2024-05-20T16:03:47Z
Summary
Denial of service in chain verification in crypto/x509
Details

The crypto/x509 package does not limit the amount of work performed for each chain verification, which might allow attackers to craft pathological inputs leading to a CPU denial of service. Go TLS servers accepting client certificates and TLS clients verifying certificates are affected.

References
Credits
    • Netflix

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.6
Introduced
1.11.0-0
Fixed
1.11.3

Ecosystem specific

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