CVE-2017-15041

CRITICALCVSS 9.8/10EPSS 8.94%

Last modified

CVE-2017-15041 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 8.94% chance of exploitation in the next 30 days.

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

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
8.94%

94.6th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersions
GolangGo<= 1.8.3
GolangGo1.9
DebianDebian Linux9.0
RedhatDeveloper Tools1.0
RedhatEnterprise Linux Eus7.6
RedhatEnterprise Linux Eus7.7
RedhatEnterprise Linux Server7.0
RedhatEnterprise Linux Server Aus7.6
RedhatEnterprise Linux Server Aus7.7
RedhatEnterprise Linux Tus7.6
RedhatEnterprise Linux Tus7.7

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2017-15041?
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."
How severe is CVE-2017-15041?
CVE-2017-15041 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 8.94% probability of exploitation in the next 30 days.
How do I fix CVE-2017-15041?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2017-15041?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST