Improper Input Validation Affecting golang-src package, versions *
Threat Intelligence
EPSS
37.91% (98th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RHEL7-GOLANGSRC-5050158
- published 26 Jul 2021
- disclosed 16 Feb 2018
Introduced: 16 Feb 2018
CVE-2018-7187 Open this link in a new tabHow to fix?
There is no fixed version for RHEL:7
golang-src
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream golang-src
package and not the golang-src
package as distributed by RHEL
.
See How to fix?
for RHEL:7
relevant fixed versions and status.
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.
References
- https://github.com/golang/go/issues/23867
- https://access.redhat.com/security/cve/CVE-2018-7187
- https://www.debian.org/security/2019/dsa-4379
- https://www.debian.org/security/2019/dsa-4380
- https://security.gentoo.org/glsa/201804-12
- https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc
- https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html
CVSS Scores
version 3.1