CVE-2020-14039 Security feature bypass in n/a

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
golang BitnamiAll versions1.13.13, 1.14.5
stdlib GoAll versions1.13.13, 1.14.5
Linux distribution packages (12)
terraform SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions0.13.4-6.3.1
terraform-provider-aws SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions3.11.0-6.3.1
terraform-provider-azurerm SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions2.32.0-6.3.1
terraform-provider-external SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions2.0.0-6.3.1
terraform-provider-google SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions3.43.0-6.3.1
terraform-provider-helm SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions1.3.2-6.3.1
terraform-provider-kubernetes SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions1.13.2-6.3.1
terraform-provider-local SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions2.0.0-6.3.1
terraform-provider-null SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions3.0.0-6.3.1
terraform-provider-random SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions3.0.0-6.3.1
terraform-provider-tls SUSE:Linux Enterprise Module for Public Cloud 15 SP2All versions3.0.0-5.3.2
terraform-provider-helm openSUSE:TumbleweedAll versions2.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.

All Golang Go vulnerabilities

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.

Is CVE-2020-14039 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free