Vulnerability in Golang Go

CVE-2012-2666

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.

EPSS: 0.019 (77.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Golang Go — versions 1.0.2
  • N/a Go/golang — versions go/golang 1.0.2

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2012-2666?
CVE-2012-2666 is a critical-severity vulnerability in Golang Go, classified under Insecure Temporary File. CVSS score: 9.8/10. Published 2021-07-09.
How severe is CVE-2012-2666?
Critical severity. CVSS v3 base score is 9.8 out of 10.