CVE-2018-7187
Last modified
CVE-2018-7187 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 63.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.9.5 |
| Golang | Go | >= 1.10, < 1.10.1 |
| Debian | Debian Linux | 7.0 |
| Debian | Debian Linux | 9.0 |
References
- https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffcThird Party Advisory
- https://github.com/golang/go/issues/23867Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00029.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201804-12Third Party Advisory
- https://www.debian.org/security/2019/dsa-4379Third Party Advisory
- https://www.debian.org/security/2019/dsa-4380Third Party Advisory
- https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffcThird Party Advisory
- https://github.com/golang/go/issues/23867Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00029.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201804-12Third Party Advisory
- https://www.debian.org/security/2019/dsa-4379Third Party Advisory
- https://www.debian.org/security/2019/dsa-4380Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-7187?
How severe is CVE-2018-7187?
How do I fix CVE-2018-7187?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-7180SQL Injection exists in the Saxum Astro 4.0.14 component for…
- CVE-2018-7182The ctl_getitem method in ntpd in ntp-4.2.8p6 before 4.2.8p1…
- CVE-2018-7183Buffer overflow in the decodearr function in ntpq in ntp 4.2…
- CVE-2018-7184ntpd in ntp 4.2.8p4 before 4.2.8p11 drops bad packets before…
- CVE-2018-7185The protocol engine in ntp 4.2.6 before 4.2.8p11 allows a re…7.5
- CVE-2018-7186Leptonica before 1.75.3 does not limit the number of charact…
- CVE-2018-7188An XSS vulnerability (via an SVG image) in Tiki before 18 al…
- CVE-2018-7191In the tun subsystem in the Linux kernel before 4.13.14, dev…
- CVE-2018-7192Cross-site scripting (XSS) vulnerability in /ajax.php/form/h…6.1
- CVE-2018-7193Cross-site scripting (XSS) vulnerability in /scp/directory.p…6.1
- CVE-2018-7194Integer format vulnerability in the ticket number generator …4.9
- CVE-2018-7195Enhancesoft osTicket before 1.10.2 allows remote attackers t…8.1
Are you affected by CVE-2018-7187?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
