CVE-2018-6574: Code Injection

Published Feb 7, 2018
·
Updated

Go before 1.8.7, Go 1.9.x before 1.9.4, and Go 1.10 pre-releases before Go 1.10rc2 allow "go get" remote command execution during source code build, by leveraging the gcc or clang plugin feature, because -fplugin= and -plugin= arguments were not blocked.

Affected Software

19 affected componentsFixes available
debian/golang
debian/golang-1.10
debian/golang-1.7
redhat/go<1.8.7
1.8.7
redhat/go<1.9.4
1.9.4
redhat/go<1.10
1.10
Golang Go<=1.8.6
Golang Go=1.9
Golang Go=1.9.1
Golang Go=1.9.2
Golang Go=1.9.3
Golang Go=1.10-beta1
Golang Go=1.10-beta2
Golang Go=1.10-rc1
Debian Debian Linux=9.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Tus=7.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/go to a version that resolves this vulnerability.

    Fixed in 1.8.7
  2. Upgrade

    Upgrade redhat/go to a version that resolves this vulnerability.

    Fixed in 1.9.4
  3. Upgrade

    Upgrade redhat/go to a version that resolves this vulnerability.

    Fixed in 1.10

Event History

Feb 7, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via NVD·09:29 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-6574?

CVE-2018-6574 is classified as a high severity vulnerability due to its potential for remote command execution.

2

How do I fix CVE-2018-6574?

To mitigate CVE-2018-6574, upgrade to Go version 1.8.7, 1.9.4, or any version above 1.10.

3

What impacts does CVE-2018-6574 have on affected systems?

CVE-2018-6574 allows attackers to execute arbitrary commands during the source code build process, compromising the security of affected systems.

4

Which versions of Go are affected by CVE-2018-6574?

CVE-2018-6574 affects Go versions prior to 1.8.7, 1.9.x before 1.9.4, and pre-release versions of Go 1.10.

5

Is CVE-2018-6574 present in Debian packages?

Yes, CVE-2018-6574 affects Debian packages for Go that are below the fixed version thresholds.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203