Go Vulnerability Database
GO-2022-0535
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | All versions before 1.12.16 (fixed in 1.12.16) From 1.13.0-0 before 1.13.7 (fixed in 1.13.7) |