CWE
94
Advisory Published
Updated

CVE-2023-29402: Code injection via go command with cgo in cmd/go

First published: Thu Jun 08 2023(Updated: )

Golang Go could allow a remote attacker to execute arbitrary code on the system, caused by the generation of unexpected code at build time when using cgo. By sending a specially crafted request, an attacker could exploit this vulnerability to execute arbitrary code on the system.

Credit: security@golang.org security@golang.org

Affected SoftwareAffected VersionHow to fix
Golang Go<1.19.10
Golang Go>=1.20.0<1.20.5
Fedoraproject Fedora=38
IBM Storage Protect Plus vSnap<=10.1

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-2023-29402?

    CVE-2023-29402 is a vulnerability in the go command that may generate unexpected code at build time when using cgo, resulting in unexpected behavior when running a go program.

  • How does CVE-2023-29402 impact go programs?

    CVE-2023-29402 may cause unexpected behavior in go programs that use cgo.

  • Which versions of Go are affected by CVE-2023-29402?

    Go versions up to 1.19.10 and versions 1.20.0 to 1.20.5 are affected by CVE-2023-29402.

  • Are there any known fixes for CVE-2023-29402?

    Applying the latest security updates for Go is recommended to mitigate CVE-2023-29402.

  • Where can I find more information about CVE-2023-29402?

    You can find more information about CVE-2023-29402 on the following links: [link1](https://go.dev/cl/501226), [link2](https://go.dev/issue/60167), [link3](https://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJ).

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