LiveActive security incident?Get immediate response
CVE Record

CVE-2012-2666: golang/go in 1.0.2 fixes all.bash on shared machines.

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This issue concerns Go's own test script behavior on shared machines, not a typical internet-facing application flaw. A test helper created a temporary file with a predictable name and then executed it, creating risk when untrusted local users share the same system.

Executive priority

Treat this as targeted operational hygiene for build and test infrastructure, not an emergency internet-exposure issue. Prioritize if legacy Go toolchains run on shared servers or regulated build environments.

Technical view

CVE-2012-2666 is a CWE-377 predictable temporary file issue in Go's src/pkg/debug/gosym/pclntab_test.go dotest() path. The vulnerable test flow created a predictable temporary shell script and executed it. The source bundle links the upstream Go commit and code review associated with the fix.

Likely exposure

Exposure appears limited to systems running affected Go source tests or all.bash-style build validation on shared machines. Production applications built with Go are not identified by the sources as directly vulnerable.

Exploitation context

The bundle does not cite active exploitation, and KEV status is false. Practical risk depends on local shared-system conditions where another user could interfere with predictable temporary-file handling during test execution.

Researcher notes

Evidence is narrow and old. The affected behavior is described at the test-helper level, with references to Go upstream review and commit. No CVSS, exploit-in-the-wild claim, or broad product impact is provided in the bundle.

Mitigation direction

  • Apply the upstream Go fix or vendor package update where relevant.
  • Avoid running affected Go tests on shared systems with untrusted local users.
  • Run build and test jobs in isolated workspaces or single-tenant CI runners.
  • Check vendor advisories, including NetApp, for product-specific impact statements.

Validation and detection

  • Inventory Go source or package versions against the referenced CVE record.
  • Check whether all.bash or affected Go tests run on shared machines.
  • Review pclntab_test.go for predictable temporary shell script creation.
  • Confirm the upstream commit or equivalent vendor patch is present.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-377: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2012-2666 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/ago/golanggo/golang 1.0.2Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-377 · source CWE mapping

Insecure Temporary File

Insecure Temporary File represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.