CVE-2012-2666Golang Go
Critical 9.8 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- Jul 9, 2021
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-377
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | 1.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.suse.com Issue Tracking Patch Third Party Advisory
- codereview.appspot.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- security.netapp.com Third Party Advisory
- www.whitesourcesoftware.com Third Party Advisory