Name | CVE-2017-15041 |
Description | Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution. Using custom domains, it is possible to arrange things so that example.com/pkg1 points to a Subversion repository but example.com/pkg1/pkg2 points to a Git repository. If the Subversion repository includes a Git checkout in its pkg2 directory and some other work is done to ensure the proper ordering of operations, "go get" can be tricked into reusing this Git checkout for the fetch of code from pkg2. If the Subversion repository's Git checkout has malicious commands in .git/hooks/, they will execute on the system running "go get." |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1148-1, DLA-2591-1, DLA-2592-1, ELA-379-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
golang (PTS) | jessie, jessie (lts) | 2:1.3.3-1+deb8u5 | fixed |
golang-1.7 (PTS) | stretch (security), stretch (lts), stretch | 1.7.4-2+deb9u5 | fixed |
golang-1.8 (PTS) | stretch (security), stretch (lts), stretch | 1.8.1-1+deb9u5 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
golang | source | wheezy | 2:1.0.2-1.1+deb7u2 | DLA-1148-1 | ||
golang | source | jessie | 2:1.3.3-1+deb8u3 | ELA-379-1 | ||
golang | source | (unstable) | (unfixed) | |||
golang-1.7 | source | stretch | 1.7.4-2+deb9u3 | DLA-2591-1 | ||
golang-1.7 | source | (unstable) | (unfixed) | |||
golang-1.8 | source | stretch | 1.8.1-1+deb9u3 | DLA-2592-1 | ||
golang-1.8 | source | (unstable) | 1.8.4-1 | |||
golang-1.9 | source | (unstable) | 1.9.1-1 |
[jessie] - golang <ignored> (Minor issue)
https://go.googlesource.com/go/+/a4544a0f8af001d1fb6df0e70750f570ec49ccf9%5E%21/
https://github.com/golang/go/issues/22125
https://golang.org/cl/68022 (1.9.x)
https://golang.org/cl/68190 (1.8.x)
https://github.com/golang/go/commit/533ee44cd45c064608ee2b833af9e86ef1cb294e (regression)
https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJ