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 only checks for "://" anywhere in the string), which allows remote attackers to execute arbitrary OS commands via a crafted web site.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

History

21 Nov 2024, 04:11

Type Values Removed Values Added
References () https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc - Third Party Advisory () https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc - Third Party Advisory
References () https://github.com/golang/go/issues/23867 - Exploit, Issue Tracking, Third Party Advisory () https://github.com/golang/go/issues/23867 - Exploit, Issue Tracking, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html - Mailing List, Third Party Advisory
References () https://security.gentoo.org/glsa/201804-12 - Third Party Advisory () https://security.gentoo.org/glsa/201804-12 - Third Party Advisory
References () https://www.debian.org/security/2019/dsa-4379 - Third Party Advisory () https://www.debian.org/security/2019/dsa-4379 - Third Party Advisory
References () https://www.debian.org/security/2019/dsa-4380 - Third Party Advisory () https://www.debian.org/security/2019/dsa-4380 - Third Party Advisory

Information

Published : 2018-02-16 17:29

Updated : 2024-11-21 04:11


NVD link : CVE-2018-7187

Mitre link : CVE-2018-7187

CVE.ORG link : CVE-2018-7187


JSON object : View

Products Affected

debian

  • debian_linux

golang

  • go
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')