CVE-2012-2666 json
golang/go in 1.0.2 fixes all.bash on shared machines.
published 2021-07-09 5 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2649
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- github.com/golang/go@8ac275b commit
- bugzilla.suse.com/show_bug.cgi?id=765455 advisory
Exploit prediction
1.93% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- codereview.appspot.com https://codereview.appspot.com/5992078 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- n/a go/golang
Classification
- Weakness
-
- CWE-377 DEPRECATED: Insecure Temporary File
References
-
github.com
/golang/go/commit/8ac275bb01588a8c0e6c0fe2de7fd11f08feccdd
patch, third-party-advisory
-
bugzilla.suse.com
/show_bug.cgi?id=765455
issue-tracking, patch, third-party-advisory
-
codereview.appspot.com
/5992078
exploit, third-party-advisory
-
whitesourcesoftware.com
/vulnerability-database/CVE-2012-2666
third-party-advisory
-
security.netapp.com
/advisory/ntap-20210902-0009/
third-party-advisory
Sources
- CVE List CVE-2012-2666
- NVD CVE-2012-2666
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.