CVE-2012-2666
Published: 9 July 2021
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.
Notes
Author | Note |
---|---|
mdeslaur | Packages built using golang need to be rebuilt once the vulnerability has been fixed. This CVE entry does not list packages that need rebuilding outside of the main repository or the Ubuntu variants with PPA overlays. |
sbeattie | fixed in 1.0.2 |
Priority
Status
Package | Release | Status |
---|---|---|
golang Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Does not exist
|
|
groovy |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(1.0.2)
|
|
xenial |
Does not exist
|
|
golang-1.10 Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(1.0.2)
|
focal |
Does not exist
|
|
groovy |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
trusty |
Not vulnerable
(1.0.2)
|
|
upstream |
Not vulnerable
(1.0.2)
|
|
xenial |
Not vulnerable
(1.0.2)
|
|
golang-1.13 Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(1.0.2)
|
focal |
Not vulnerable
(1.0.2)
|
|
groovy |
Not vulnerable
(1.0.2)
|
|
hirsute |
Not vulnerable
(1.0.2)
|
|
impish |
Not vulnerable
(1.0.2)
|
|
jammy |
Not vulnerable
(1.0.2)
|
|
trusty |
Does not exist
|
|
upstream |
Not vulnerable
(1.0.2)
|
|
xenial |
Not vulnerable
(1.0.2)
|
|
golang-1.14 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Not vulnerable
(1.0.2)
|
|
groovy |
Not vulnerable
(1.0.2)
|
|
hirsute |
Not vulnerable
(1.0.2)
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Not vulnerable
(1.0.2)
|
|
xenial |
Does not exist
|
|
golang-1.15 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Does not exist
|
|
groovy |
Not vulnerable
(1.0.2)
|
|
hirsute |
Not vulnerable
(1.0.2)
|
|
impish |
Not vulnerable
(1.0.2)
|
|
trusty |
Does not exist
|
|
upstream |
Not vulnerable
(1.0.2)
|
|
xenial |
Does not exist
|
|
golang-1.16 Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(1.0.2)
|
focal |
Not vulnerable
(1.0.2)
|
|
groovy |
Does not exist
|
|
hirsute |
Not vulnerable
(1.0.2)
|
|
impish |
Not vulnerable
(1.0.2)
|
|
jammy |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Not vulnerable
(1.0.2)
|
|
xenial |
Ignored
(end of standard support)
|
|
golang-1.6 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Does not exist
|
|
groovy |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Not vulnerable
(1.0.2)
|
|
xenial |
Not vulnerable
(1.0.2)
|
|
golang-1.8 Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(1.0.2)
|
focal |
Does not exist
|
|
groovy |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Not vulnerable
(1.0.2)
|
|
xenial |
Does not exist
|
|
golang-1.9 Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
(1.0.2)
|
focal |
Does not exist
|
|
groovy |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Not vulnerable
(1.0.2)
|
|
xenial |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2666
- 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
- NVD
- Launchpad
- Debian