Go go get Command Arbitrary Code Execution Vulnerability [CVE-2018-16873]

  • A vulnerability in the go get command of Go could allow an unauthenticated, remote attacker to conduct a execute arbitrary code on a targeted system.The vulnerability exists when the go get command is executed with the -u flag to import a Go package. An attacker could exploit this vulnerability by persuading a user to import a Go package that submits malicious input to the targeted system by executing the go get -u command. A successful exploit could allow the attacker to execute arbitrary code.Go has confirmed the vulnerability and released software updates.

Analysis

  • To exploit this vulnerability, the attacker may use misleading language or instructions to persuade a user to import a Go package that submits malicious input to the targeted system.

    This vulnerability affects systems running in GOPATH mode.

Safeguards

  • Administrators are advised to apply the appropriate updates.Administrators are advised to allow only trusted users to have network access.Users are advised not to open email messages from suspicious or unrecognized sources. If users cannot verify that links or attachments included in email messages are safe, they are advised not to open them.Users are advised not to visit websites or follow links that have suspicious characteristics or cannot be verified as safe.Administrators are advised to use an unprivileged account when browsing the Internet.Administrators are advised to monitor critical systems.

Vendor Announcements

  • Go has released a bug report at the following link: Bug #29230

Fixed Software

Duncan Newell

Duncan is a technology professional with over 20 years experience of working in various IT roles. He has a interest in cyber security, and has a wide range of other skills in radio, electronics and telecommunications.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: