golang: arbitrary command execution via VCS path
Published Feb 16, 2018
8.8
HIGHCVSS 3.1
EPSS 63.03%
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.
Affected products
No data.
Configuration 2
- 7.0
- 9.0
No data.
Red Hat Ceph Storage 2
golang
Not affected
Red Hat Ceph Storage 3
golang
Not affected
Red Hat Enterprise Linux 7
golang
Will not fix
Red Hat Enterprise Linux 8
golang
Not affected
Red Hat OpenShift Enterprise 3
golang
Affected
Red Hat OpenStack Platform 8 (Liberty) Operational Tools
golang
Will not fix
Red Hat OpenStack Platform 9 (Mitaka) Operational Tools
golang
Will not fix
Red Hat Storage 3
golang
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ceph Storage 2 | golang | Not affected | n/a |
| Red Hat Ceph Storage 3 | golang | Not affected | n/a |
| Red Hat Enterprise Linux 7 | golang | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | golang | Not affected | n/a |
| Red Hat OpenShift Enterprise 3 | golang | Affected | n/a |
| Red Hat OpenStack Platform 8 (Liberty) Operational Tools | golang | Will not fix | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) Operational Tools | golang | Will not fix | n/a |
| Red Hat Storage 3 | golang | Not affected | n/a |
toolchain
Go
Introduced 0 Fixed 1.9.5toolchain
Go
Introduced 1.10.0-0 Fixed 1.10.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | toolchain | 0 | 1.9.5 |
| Go | toolchain | 1.10.0-0 | 1.10.1 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
AV:N/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (25 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 63.03% (0.63027) | 99.18th | v5 (v2026.06.15) |
| Jun 15, 2026 | 63.70% (0.63699) | 99.11th | v5 (v2026.06.15) |
| Jan 10, 2026 | 7.59% (0.07587) | 91.56th | v4 (v2025.03.14) |
| Nov 21, 2025 | 15.14% (0.15136) | 94.31th | v4 (v2025.03.14) |
| Nov 18, 2025 | 9.58% (0.09583) | 92.04th | v4 (v2025.03.14) |
| Oct 25, 2025 | 15.14% (0.15136) | 94.28th | v4 (v2025.03.14) |
| Aug 20, 2025 | 18.85% (0.18853) | 95.04th | v4 (v2025.03.14) |
| Aug 17, 2025 | 14.19% (0.14194) | 94.10th | v4 (v2025.03.14) |
| Apr 30, 2025 | 18.77% (0.18767) | 94.90th | v4 (v2025.03.14) |
| Mar 30, 2025 | 22.75% (0.22747) | 95.39th | v4 (v2025.03.14) |
| Mar 29, 2025 | 30.86% (0.30859) | 94.86th | v4 (v2025.03.14) |
| Mar 17, 2025 | 22.75% (0.22747) | 95.42th | v4 (v2025.03.14) |
| Dec 17, 2024 | 13.71% (0.13712) | 95.61th | v3 (v2023.03.01) |
| Jul 3, 2024 | 30.71% (0.30708) | 96.99th | v3 (v2023.03.01) |
| Aug 19, 2023 | 37.91% (0.37911) | 96.71th | v3 (v2023.03.01) |
| Jul 10, 2023 | 45.55% (0.45554) | 96.90th | v3 (v2023.03.01) |
| Mar 7, 2023 | 49.23% (0.49230) | 96.88th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.32% (0.01319) | 71.27th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.32% (0.01319) | 71.23th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.32% (0.01319) | 69.22th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.32% (0.01319) | 44.98th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.93% (0.01935) | 48.26th | v1 |
| Jan 6, 2022 | 1.93% (0.01935) | 47.74th | v1 |
| Sep 1, 2021 | 1.93% (0.01935) | 76.23th | v1 |
| Apr 14, 2021 | 1.93% (0.01935) | 0.00th | v1 |
References (10)
- https://access.redhat.com/security/cve/CVE-2018-7187 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1546386 Issue Tracking
- https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc x_refsource_MISCThird Party Advisory
- https://github.com/golang/go/issues/23867 x_refsource_CONFIRMExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-7187
- https://security.gentoo.org/glsa/201804-12 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-7187
- https://www.debian.org/security/2019/dsa-4379 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.debian.org/security/2019/dsa-4380 vendor-advisoryx_refsource_DEBIANThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-7187 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1546386 | Issue Tracking | |
| https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc | x_refsource_MISCThird Party Advisory | |
| https://github.com/golang/go/issues/23867 | x_refsource_CONFIRMExploitIssue TrackingThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-7187 | ||
| https://security.gentoo.org/glsa/201804-12 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-7187 | ||
| https://www.debian.org/security/2019/dsa-4379 | vendor-advisoryx_refsource_DEBIANThird Party Advisory | |
| https://www.debian.org/security/2019/dsa-4380 | vendor-advisoryx_refsource_DEBIANThird Party Advisory |
Change history (0)
No recorded changes yet.