7.5
CWE
427 77 94
Advisory Published
CVE Published
Updated

CVE-2021-3115: Command Injection

First published: Wed Jan 20 2021(Updated: )

A flaw was found in golang: cmd/go, in which Go can execute arbitrary commands at build time when cgo is in use on Windows OS. On Linux/Unix, only users who have "." listed explicitly in their PATH variable are affected. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/openshift-serverless-clients<0:0.20.0-6.el8
0:0.20.0-6.el8
redhat/openshift-serverless-clients<0:0.20.0-7.el8
0:0.20.0-7.el8
Golang Go<1.14.14
Golang Go>=1.15<1.15.7
Microsoft Windows
Fedoraproject Fedora=33
Netapp Cloud Insights Telegraf Agent
Netapp Storagegrid

Remedy

The flaw can be mitigated by making sure "." is not in your PATH environment variable.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-3115?

    CVE-2021-3115 is a vulnerability in Go programming language on Windows OS that allows for command injection and remote code execution.

  • What is the severity level of CVE-2021-3115?

    The severity level of CVE-2021-3115 is high, with a CVSS score of 7.5.

  • Which versions of Go are affected by CVE-2021-3115?

    Go versions before 1.14.14 and 1.15.x before 1.15.7 on Windows OS are affected by CVE-2021-3115.

  • How can I fix CVE-2021-3115?

    To fix CVE-2021-3115, update your Go installations to version 1.14.14 or 1.15.7.

  • Is Microsoft Windows vulnerable to CVE-2021-3115?

    No, Microsoft Windows is not vulnerable to CVE-2021-3115.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203