Skip to content

CVE-2020-14039 Certificate verification error on Windows in crypto/x509

MediumCVSS 5.3 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known

Description

In Go before 1.13.13 and 1.14.x before 1.14.5, Certificate.Verify may lack a check on the VerifyOptions.KeyUsages EKU requirements (if VerifyOptions.Roots equals nil and the installation is on Windows). Thus, X.509 certificate verification is incomplete.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
golang go < 1.13.13; >= 1.14.0, < 1.14.5 1.13.13, 1.14.5 Fixed
stdlib(Go) < 1.13.13; >= 1.14.0-0, < 1.14.5 1.13.13, 1.14.5 Fixed
openSUSE leap = 15.1; = 15.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
stdlib(Go) < 1.13.13 1.13.13
stdlib(Go) >= 1.14.0-0, < 1.14.5 1.14.5
golang go < 1.13.13 1.13.13
golang go >= 1.14.0, < 1.14.5 1.14.5
openSUSE leap = 15.1 No fix listed
openSUSE leap = 15.2 No fix listed

References