Critical severity · published Jul 9, 2021
CVE-2012-2666
golang/go in 1.0.2 fixes all.bash on shared machines
9.8
CVSS
1.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.9% · higher than 80% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
GO · Golang
1.0.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-2666
CVE.org
https://www.cve.org/CVERecord?id=CVE-2012-2666
Issue Tracking
https://bugzilla.suse.com/show_bug.cgi?id=765455
Exploit
https://codereview.appspot.com/5992078
Patch
https://github.com/golang/go/commit/8ac275bb01588a8c0e6c0fe2de7fd11f08feccdd
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210902-0009/
Third Party Advisory
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2012-2666
More from GO
8.1
CVE-2020-0601
Microsoft Windows CryptoAPI Spoofing Vulnerability
7.5
CVE-2023-44487
HTTP/2 Rapid Reset Attack Vulnerability
10.0
CVE-2025-68121
During session resumption in crypto/tls, if the underlying Config has its ClientCAs or RootCAs fields mutated between the initial handshake and the resumed handshake, the resumed…
9.8
CVE-2026-27143
Missing bound checks can lead to memory corruption in safe Go in cmd/compile
9.8
CVE-2024-24790
The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which would return true in their…
