Vulnerabilities · 2012 · Golang
CVE-2012-2666
Golang Go vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Go. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Golang Go runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.suse.com/show_bug.cgi?id=765455 · Patch
- github.com/golang/go/commit/8ac275bb01588a8c0e6c0fe2de7fd11f08feccdd · Patch
- codereview.appspot.com/5992078 · Exploit
- security.netapp.com/advisory/ntap-20210902-0009/ · Third Party Advisory
- www.whitesourcesoftware.com/vulnerability-database/CVE-2012-2666 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2012-2666
- cve.org/CVERecord?id=CVE-2012-2666
More vulnerabilities in Golang products
CVE-2026-42506CVE-2026-42502CVE-2026-27136CVE-2026-25681CVE-2026-25680CVE-2025-68121CVE-2025-68119CVE-2025-61732All 172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.