Live threats

All CVEs / Golang

CVE-2020-14039Golang Go

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Jul 17, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.13.13 1.13.13 go get stdlib@v1.13.13
Go stdlib ≥ 1.14.0-0 < 1.14.5 1.14.5 go get stdlib@v1.14.5

Per OSV / GitHub Advisories (GO-2021-0223). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.13.13
golanggo≥ 1.14.0 < 1.14.5
opensuseleap15.1
opensuseleap15.2

Official sources

References

Links published by the sources. Open them with care.