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

PackageVersions
Go · stdlibintroduced 0, fixed 1.13.13, introduced 1.14.0-0, fixed 1.14.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database