What’s Vulnerable › Vulnerabilities
CVE-2012-2666
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-07-09 · updated 2026-06-16
- Weakness: CWE-377
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.
Affected products
- Go: 1.0.2
References
- https://bugzilla.suse.com/show_bug.cgi?id=765455
- https://codereview.appspot.com/5992078
- https://github.com/golang/go/commit/8ac275bb01588a8c0e6c0fe2de7fd11f08feccdd
- https://security.netapp.com/advisory/ntap-20210902-0009/
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2012-2666
- https://bugzilla.suse.com/show_bug.cgi?id=765455
- https://codereview.appspot.com/5992078
- https://github.com/golang/go/commit/8ac275bb01588a8c0e6c0fe2de7fd11f08feccdd
- https://security.netapp.com/advisory/ntap-20210902-0009/
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2012-2666
Get alerted when CVE-2012-2666 or the next vulnerability affects your stack