CVE-2012-2666 Other in go/golang

Critical 9.8 Published Updated

An attacker on a shared machine could execute arbitrary code by exploiting a predictable temporary file name in the Go test suite.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2012-2666?

CVE-2012-2666 is a critical vulnerability in Golang Go, published on 9 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

golang/go in 1.0.2 fixes all.bash on shared machines. dotest() in src/pkg/debug/gosym/pclntab_test.go creates a temporary file with predicable name and executes it as shell script.

Weakness: CWE-377

Which versions are affected by CVE-2012-2666?

It affects 1 product.

Products include Golang Go.

How do I fix CVE-2012-2666?

No fix has been published for CVE-2012-2666 yet. Limit exposure of the affected software until one is available.

Is CVE-2012-2666 being exploited?

There is no known exploitation of CVE-2012-2666 in the wild and no public exploit code.

All Golang Go vulnerabilities

Sources

Also known as GHSA-259v-fw35-w989.

Is CVE-2012-2666 in your software?

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

Check your SBOMs for free