PT-2021-8362 · Google · Golang

Ludwig Nussel

·

Published

2021-07-09

·

Updated

2021-10-18

·

CVE-2012-2666

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions golang/go versions prior to 1.0.2
Description The issue arises from the dotest() function in src/pkg/debug/gosym/pclntab test.go, which creates a temporary file with a predictable name and executes it as a shell script. This behavior poses a risk, especially on shared machines.
Recommendations For versions prior to 1.0.2, update to version 1.0.2 to resolve the issue. As a temporary workaround, consider restricting access to the dotest() function in src/pkg/debug/gosym/pclntab test.go until the update is applied.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2012-2666

Affected Products

Golang