GO-2021-0223
Certificate verification error on Windows in crypto/x509
At a glance
- Published
- Updated
- CVE
- CVE-2020-14039
- Aliases
- BIT-golang-2020-14039
Description
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.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.13.13, introduced 1.14.0-0, fixed 1.14.5 |
References
- https://go.dev/cl/242597 FIX
- https://go.googlesource.com/go/+/82175e699a2e2cd83d3aa34949e9b922d66d52f5 FIX
- https://go.dev/issue/39360 REPORT
- https://groups.google.com/g/golang-announce/c/XZNfaiwgt2w WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |