CVE-2020-14039 json
Certificate verification error on Windows in crypto/x509
published 6y ago modified 2mo ago also BIT-golang-2020-14039 , EUVD-2020-6205 , GO-2021-0223
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami golang 1.13.13, 1.14.5
- go stdlib 1.13.13, 1.14.5
- golang go 1.13.13, 1.14.5
- terraform SLE Module for Public Cloud 15 SP2 0.13.4-6.3.1
- terraform-provider-aws SLE Module for Public Cloud 15 SP2 3.11.0-6.3.1
- terraform-provider-tls SLE Module for Public Cloud 15 SP2 3.0.0-5.3.2
- terraform-provider-helm SLE Module for Public Cloud 15 SP2 1.3.2-6.3.1
- terraform-provider-null SLE Module for Public Cloud 15 SP2 3.0.0-6.3.1
- terraform-provider-local SLE Module for Public Cloud 15 SP2 2.0.0-6.3.1
- terraform-provider-google SLE Module for Public Cloud 15 SP2 3.43.0-6.3.1
- terraform-provider-random SLE Module for Public Cloud 15 SP2 3.0.0-6.3.1
suse advisories SUSE-SU-2021:0263-1SUSE-SU-2020:2562-1
- go1.13 openSUSE Tumbleweed 1.13.15-2.6
- go1.14 openSUSE Tumbleweed 1.14.15-1.6
- terraform-provider-helm openSUSE Tumbleweed 2.0.0-1.4
- go1.14 openSUSE Leap 15.2 1.14.7-lp152.2.3.1
- go1.14 openSUSE Leap 15.1 1.14.7-lp151.13.1
- go1.13 openSUSE Leap 15.2 1.13.14-lp152.2.4.1
- go1.13 openSUSE Leap 15.1 1.13.14-lp151.5.1
opensuse advisories openSUSE-SU-2024:10806-1openSUSE-SU-2024:10807-1openSUSE-SU-2024:11430-1openSUSE-SU-2020:1407-1openSUSE-SU-2020:1405-1openSUSE-SU-2020:1095-1
Is CVE-2020-14039 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.76% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | golang | <1.13.13 >=1.14.0, <1.14.5 |
1.13.13 1.14.5 |
| go | stdlib | <1.13.13 >=1.14.0-0, <1.14.5 |
1.13.13 1.14.5 |
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
oracle.com
/security-alerts/cpuApr2021.html
patch, third-party-advisory, advisory
-
go.dev
/cl/242597
patch
-
go.googlesource.com
/go/+/82175e699a2e2cd83d3aa34949e9b922d66d52f5
patch
-
lists.opensuse.org
/opensuse-security-announce/2020-07/msg00077.html
vendor-advisory, mailing-list, third-party-advisory, advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-07/msg00082.html
vendor-advisory, mailing-list, third-party-advisory, advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-09/msg00029.html
vendor-advisory, mailing-list, third-party-advisory, advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-09/msg00030.html
vendor-advisory, mailing-list, third-party-advisory, advisory
-
groups.google.com
/forum/#%21forum/golang-announce
web
-
groups.google.com
/forum/#%21topic/golang-announce/XZNfaiwgt2w
web
-
security.netapp.com
/advisory/ntap-20200731-0005/
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-14039
web
-
go.dev
/issue/39360
report
-
groups.google.com
/g/golang-announce/c/XZNfaiwgt2w
web
Sources
- CVE List CVE-2020-14039
- NVD CVE-2020-14039
- OSV BIT-golang-2020-14039
- OSV GO-2021-0223
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.