Back
CVE-2018-7187
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…
High8.8EPSS 63.0%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 63.0% · top 0.8% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Weakness
Affected products
n/a
- affected n/a
References (6)
- [debian-lts-announce] 20180225 [SECURITY] [DLA 1294-1] golang security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-4380 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- GLSA-201804-12 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- DSA-4379 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://github.com/golang/go/issues/23867 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-7187)Record last updated .