CVE-2018-16873
In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag and the import path of a malicious Go package, or a package
02 Description
In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag and the import path of a malicious Go package, or a package
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 66.25% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.2% of scored records. A rank, not a probability.
- NVD base score
- 8.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-12-14 14:00Z7 YR AGO
- Last updated
- 2024-08-05 10:32Z2 YR AGO
- Reserved
- 2018-09-11
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20Improper Input ValidationClass
- Data version
- 5.1
- Document digest
- df761e707b38f5543a301416ed5a2ad60423abd2b33e729b628f24cec499bc15
05 Affected products
06 References
- www.securityfocus.com106226http://www.securityfocus.com/bid/106226
- security.gentoo.orgGLSA-201812-09https://security.gentoo.org/glsa/201812-09
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16873
- groups.google.comhttps://groups.google.com/forum/?pli=1#%21topic/golang-announce/Kw31K8G7Fi0
- lists.opensuse.orgopenSUSE-SU-2019:1079http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html
- lists.opensuse.orgopenSUSE-SU-2019:1444http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html
- lists.opensuse.orgopenSUSE-SU-2019:1499http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html
- lists.opensuse.orgopenSUSE-SU-2019:1506http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html
- lists.opensuse.orgopenSUSE-SU-2019:1703http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00010.html
- lists.opensuse.orgopenSUSE-SU-2020:0554http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.html
- lists.debian.org[debian-lts-announce] 20210313 [SECURITY] [DLA 2591-1] golang-1.7 security updatehttps://lists.debian.org/debian-lts-announce/2021/03/msg00014.html
- lists.debian.org[debian-lts-announce] 20210313 [SECURITY] [DLA 2592-1] golang-1.8 security updatehttps://lists.debian.org/debian-lts-announce/2021/03/msg00015.html
07 Fixed in
Arch Linux
- go Fixed in 2:1.11.3-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- golang-1.10 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- golang-1.10 No fix yet
- golang-1.6 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- golang-1.10 No fix yet
- golang-1.8 No fix yet
- golang-1.9 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.