GO-2022-0535

Source
https://pkg.go.dev/vuln/GO-2022-0535
Import Source
https://vuln.go.dev/ID/GO-2022-0535.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2022-0535
Aliases
Published
2022-08-01T22:21:17Z
Modified
2024-05-20T16:03:47Z
Summary
Certificate validation bypass on Windows in crypto/x509
Details

A Windows vulnerability allows attackers to spoof valid certificate chains when the system root store is in use.

A workaround is present in Go 1.12.6+ and Go 1.13.7+, but affected users should additionally install the Windows security update to protect their system.

See https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2020-0601 for details on the Windows vulnerability.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0535"
}
References

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.16
Introduced
1.13.0-0
Fixed
1.13.7

Ecosystem specific

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