CVE-2018-7187
CVSS V2 High 9.3
CVSS V3 High 8.8
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.
Overview
- CVE ID
- CVE-2018-7187
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2018-02-16T17:29:00
- Last Modified Date
- 2022-08-16T13:01:06
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | 1 | OR | 1.9.5 | |
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | 1 | OR | 1.10 | 1.10.1 |
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:C/I:C/A:C
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- COMPLETE
- Integrity Impact
- COMPLETE
- Availability Impact
- COMPLETE
- Base Score
- 9.3
- Severity
- HIGH
- Exploitability Score
- 8.6
- Impact Score
- 10
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/golang/go/issues/23867 | Exploit Issue Tracking Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html | Mailing List Third Party Advisory |
https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc | Third Party Advisory |
https://security.gentoo.org/glsa/201804-12 | Third Party Advisory |
https://www.debian.org/security/2019/dsa-4380 | Third Party Advisory |
https://www.debian.org/security/2019/dsa-4379 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2018-7187 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7187 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:57:24 | Added to TrackCVE | |||
2022-12-03 02:29:08 | 2018-02-16T17:29Z | 2018-02-16T17:29:00 | CVE Published Date | updated |
2022-12-03 02:29:08 | 2022-08-16T13:01:06 | CVE Modified Date | updated | |
2022-12-03 02:29:08 | Analyzed | Vulnerability Status | updated |