CVE-2020-14039 Security feature bypass in n/a
Incomplete X.509 certificate verification on Windows allows bypassing Extended Key Usage checks when using nil roots.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-14039?
CVE-2020-14039 is a medium-severity vulnerability in Golang Go, published on 17 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-295
Which versions are affected by CVE-2020-14039?
2 open source packages ship an affected version, including golang and stdlib. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
golang Bitnami | All versions | 1.13.13, 1.14.5 |
stdlib Go | All versions | 1.13.13, 1.14.5 |
Linux distribution packages (12)
terraform SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 0.13.4-6.3.1 |
terraform-provider-aws SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 3.11.0-6.3.1 |
terraform-provider-azurerm SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 2.32.0-6.3.1 |
terraform-provider-external SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 2.0.0-6.3.1 |
terraform-provider-google SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 3.43.0-6.3.1 |
terraform-provider-helm SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 1.3.2-6.3.1 |
terraform-provider-kubernetes SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 1.13.2-6.3.1 |
terraform-provider-local SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 2.0.0-6.3.1 |
terraform-provider-null SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 3.0.0-6.3.1 |
terraform-provider-random SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 3.0.0-6.3.1 |
terraform-provider-tls SUSE:Linux Enterprise Module for Public Cloud 15 SP2 | All versions | 3.0.0-5.3.2 |
terraform-provider-helm openSUSE:Tumbleweed | All versions | 2.0.0-1.4 |
Products include Golang Go, Opensuse Leap.
How do I fix CVE-2020-14039?
Upgrade golang to a fixed version for your release line: 1.13.13 or 1.14.5.
Is CVE-2020-14039 being exploited?
There is no known exploitation of CVE-2020-14039 in the wild and no public exploit code.
Other vulnerabilities in Golang Go
- CVE-2020-0601 Microsoft Windows CryptoAPI Spoofing
- CVE-2026-27143 Missing bound checks can lead to memory corruption in safe Go in cmd/compile
- CVE-2024-24790 Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
- CVE-2023-39320 Arbitrary code execution via go.mod toolchain directive in cmd/go
- CVE-2023-24540 Improper handling of JavaScript whitespace in html/template
Sources
Also known as AZL-79080, AZL-98574, BIT-golang-2020-14039, GHSA-v8jf-78w9-hp93, GO-2021-0223, SUSE-SU-2021:0263-1 and 1 more.