GO-2021-0223

Source
https://pkg.go.dev/vuln/GO-2021-0223
Import Source
https://vuln.go.dev/ID/GO-2021-0223.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0223
Aliases
Published
2022-02-17T17:46:03Z
Modified
2024-05-20T16:03:47Z
Summary
Certificate verification error on Windows in crypto/x509
Details

On Windows, if VerifyOptions.Roots is nil, Certificate.Verify does not check the EKU requirements specified in VerifyOptions.KeyUsages. This may allow a certificate to be used for an unintended purpose.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2021-0223"
}
References
Credits
    • Niall Newman

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.13
Introduced
1.14.0-0
Fixed
1.14.5

Ecosystem specific

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