Vulnerability CVE-2012-2666


Published: 2021-07-09

Description:
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.

Type:

CWE-377

(Insecure Temporary File)

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Golang -> GO 

 References:
https://github.com/golang/go/commit/8ac275bb01588a8c0e6c0fe2de7fd11f08feccdd
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2012-2666
https://codereview.appspot.com/5992078
https://bugzilla.suse.com/show_bug.cgi?id=765455

Copyright 2024, cxsecurity.com

 

Back to Top