CVE-2012-2666
golang/go in 1.0.2 fixes all.bash on shared machines. dotest() in src/pkg/debug/gosym...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2012-2666- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-377
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-2666- Weakness
- CWE-377
- Updated
- 2026-11-02
EUVDEUVD-2012-2649 No score
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.
- Record
EUVD-2012-2649- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-259v-fw35-w989 No score
golang/go in 1.0.2 fixes all.bash on shared machines. dotest() in src/pkg/debug/gosym...
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.
- Record
GHSA-259v-fw35-w989- Weakness
- CWE-377
- Updated
- 2026-11-02
Affected products
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-2666 is a critical vulnerability (CVSS 9.8) in Golang Go, published July 9, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.93%, the 80th percentile. No source names a fixed version.
References
whitesourcesoftware.com/vulnerability-database/CVE-2012-2666
bugzilla.suse.com/show_bug.cgi?id=765455
github.com/golang/go/commit/8ac275bb01588a8c0e6c0fe2de7fd11f08feccdd
codereview.appspot.com/5992078
security.netapp.com/advisory/ntap-20210902-0009
nvd.nist.gov/vuln/detail/CVE-2012-2666
github.com/advisories/GHSA-259v-fw35-w989