VDB

CVE-2017-15041

CVE-2017-15041 PUBLISHED

Reported by mitre · Published October 5, 2017

toolchain is fixed in 1.9.1 and 1.8.4 (Go Modules)

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."

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
toolchainGo Modules1.9.1, 1.8.4
golang-srcAmazon Linux1.9.4-1.amzn2
golang-docsAmazon Linux1.9.4-1.amzn2
golang-miscAmazon Linux1.9.4-1.amzn2
golangAmazon Linux1.9.4-1.amzn2
golang-binAmazon Linux1.9.4-1.amzn2
gogolang1.8.3

Affected products

VendorProductVersions
n/an/an/a
amazon:2golang-src0
amazon:2golang-docs0
amazon:2golang-misc0
amazon:2golang0
amazon:2golang-bin0
n/an/a*
amazon:2golang-tests0
archgo0

Timeline

  • Oct 5, 2017 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (4 in total, the first dated here)
  • Aug 9, 2026 Distribution Patch (2 in total, the first dated here)
  • Oct 3, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-15041
vulnetix vdb fixes CVE-2017-15041

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-15041/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›