Skip to main content
← All vulnerabilities
CVE-2018-7187GO-2022-0203

The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.9.5, 1.10.1
None on Exploit-DB, Metasploit or GitHub

Summary

The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only checks for "://" anywhere in the string), which allows remote attackers to execute arbitrary OS commands via a crafted web site.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • toolchainGo

    fixed in 1.9.5; From 1.10.0-0 · fixed in 1.10.1

References 6

lists.debian.org

debian.org

security.gentoo.org

GitHub · golang/go

gist.github.com