GO-2022-0203

vendorUSosv

Remote command execution via "go get" command with "-insecure" option in cmd/go

view advisory published 2022-08-09Licence: per source

The "go get" command is vulnerable to remote code execution. When the -insecure command-line option is used, "go get" 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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2018-7187UShigh8.8—
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)…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan