VDB
CVE-2018-7187
CVE-2018-7187
PUBLISHED
Reported by mitre · Published February 16, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| go | golang | 1.10.1, 1.9.5 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| golang | go | |
| n/a | n/a | * |
Timeline
- Feb 16, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory (5 in total, the first dated here)
- Aug 9, 2026 Distribution Patch (2 in total, the first dated here)
- Sep 19, 2026 Coalition ESS Score
- Sep 20, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-7187
vulnetix vdb fixes CVE-2018-7187
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-2018-7187/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20180225 [SECURITY] [DLA 1294-1] golang security update mailing-listx_refsource_MLIST
- DSA-4380 vendor-advisoryx_refsource_DEBIAN
- GLSA-201804-12 vendor-advisoryx_refsource_GENTOO
- DSA-4379 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- x_refsource_MISC