Vulnerability Report: GO-2022-0203

standard library

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.

Affected Packages

  • Path
    Go Versions
    Symbols
  • before go1.9.5, from go1.10.0-0 before go1.10.1
    all symbols

Aliases

References

Credits

  • Arthur Khashaev

Feedback

See anything missing or incorrect? Suggest an edit to this report.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL