CVE-2018-7187

Aliases:GO-2022-0203
Advisory lineage Upstream: 0 Downstream: 9
Modified
Published: 16 Feb 2018, 17:00
Last modified:05 Aug 2024, 06:24

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.3 HIGH
v2.0 (nvd)
EPSS Score
7.59% LOW
8% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

16 Feb 2018, 17:00
Published
Vulnerability first disclosed
05 Aug 2024, 06:24
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1HIGHScore: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • v2.0HIGHScore: 9.3AV:N/AC:M/Au:N/C:C/I:C/A:C

EPSS Trends

Current EPSS score: 7.59% Percentile: 92%

Techniques & Countermeasures

  • CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

    The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Affected Systems

  • debiandebian_linux

    7.0 | 9.0

  • golanggo

    < 1.9.5 | ≥ 1.10, < 1.10.1

  • Gotoolchain

    ≥ 1.10.0-0, < 1.10.1

References (10)