CVE-2023-29404
CVE-2023-29404 · Improper handling of non-optional LDFLAGS in go command with cgo in cmd/go
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.
CVSS 9.8 · Kritisch · EPSS 1,8% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system
Betroffene Produkte und Versionen
cmd/go
- Softwareversionen
- ≥ 0, < 1.19.10: Betroffen (semver)
- ≥ 1.20.0-0, < 1.20.5: Betroffen (semver)
Auf 1.19.10 aktualisieren; Auf 1.20.5 aktualisieren
golang-1.19 Debian:12
- Softwareversionen
- 1.19.10-1
- 1.19.10-2
- 1.19.11-1
- 1.19.12-1
- 1.19.12-2
- 1.19.12-2~bpo11+1
- 1.19.12-2~bpo12+1
- 1.19.13-1
- 1.19.13-1~bpo11+1
- 1.19.13-1~bpo12+1
- 1.19.8-2
- 1.19.9-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.10 Ubuntu:14.04:LTS
- Softwareversionen
- 1.10.4-2ubuntu1~14.04.1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.18 Ubuntu:Pro:16.04:LTS
- Softwareversionen
- 1.18.1-1ubuntu1~16.04.6
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.18.1-1ubuntu1~16.04.6+esm1
Auf 1.18.1-1ubuntu1~16.04.6+esm1 aktualisieren
golang-1.10 Ubuntu:16.04:LTS
- Softwareversionen
- 1.10.4-2ubuntu1~16.04.1
- 1.10.4-2ubuntu1~16.04.2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.6 Ubuntu:16.04:LTS
- Softwareversionen
- 1.6-0ubuntu1
- 1.6-0ubuntu2
- 1.6-0ubuntu3
- 1.6-0ubuntu4
- 1.6-0ubuntu5
- 1.6.1-0ubuntu1
- 1.6.2-0ubuntu5~16.04
- 1.6.2-0ubuntu5~16.04.2
- 1.6.2-0ubuntu5~16.04.3
- 1.6.2-0ubuntu5~16.04.4
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.13 Ubuntu:Pro:16.04:LTS
- Softwareversionen
- 1.13.8-1ubuntu1~16.04.2
- 1.13.8-1ubuntu1~16.04.3
- 1.13.8-1ubuntu1~16.04.3+esm2
- 1.13.8-1ubuntu1~16.04.3+esm3
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.10 Ubuntu:18.04:LTS
- Softwareversionen
- 1.10~rc1-1
- 1.10~rc1-1ubuntu1
- 1.10~rc1-2ubuntu1
- 1.10~rc2-1ubuntu1
- 1.10-1ubuntu1
- 1.10.1-1ubuntu2
- 1.10.4-2ubuntu1~18.04.1
- 1.10.4-2ubuntu1~18.04.2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.13 Ubuntu:Pro:18.04:LTS
- Softwareversionen
- 1.13.8-1ubuntu1~18.04.2
- 1.13.8-1ubuntu1~18.04.3
- 1.13.8-1ubuntu1~18.04.4
- 1.13.8-1ubuntu1~18.04.4+esm1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.16 Ubuntu:Pro:18.04:LTS
- Softwareversionen
- 1.16.2-0ubuntu1~18.04.2
- 1.16.2-0ubuntu1~18.04.2+esm1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.18 Ubuntu:Pro:18.04:LTS
- Softwareversionen
- 1.18.1-1ubuntu1~18.04.3
- 1.18.1-1ubuntu1~18.04.4
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.18.1-1ubuntu1~18.04.4+esm1
Auf 1.18.1-1ubuntu1~18.04.4+esm1 aktualisieren
golang-1.8 Ubuntu:18.04:LTS
- Softwareversionen
- 1.8.3-2ubuntu1
- 1.8.3-2ubuntu1.18.04.1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.9 Ubuntu:18.04:LTS
- Softwareversionen
- 1.9.1-2ubuntu1
- 1.9.2-1ubuntu1
- 1.9.2-3ubuntu1
- 1.9.3-1ubuntu1
- 1.9.4-1ubuntu1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.18 Ubuntu:20.04:LTS
- Softwareversionen
- 1.18.1-1ubuntu1~20.04.1
- 1.18.1-1ubuntu1~20.04.2
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.18.1-1ubuntu1~20.04.3
Auf 1.18.1-1ubuntu1~20.04.3 aktualisieren
golang-1.13 Ubuntu:20.04:LTS
- Softwareversionen
- 1.13.1-1ubuntu1
- 1.13.3-1ubuntu1
- 1.13.4-1ubuntu1
- 1.13.5-1ubuntu1
- 1.13.6-1ubuntu1
- 1.13.6-2ubuntu1
- 1.13.7-1ubuntu1
- 1.13.8-1ubuntu1
- 1.13.8-1ubuntu1.1
- 1.13.8-1ubuntu1.2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.14 Ubuntu:20.04:LTS
- Softwareversionen
- 1.14~beta1-1
- 1.14~beta1-2
- 1.14~rc1-1
- 1.14-1
- 1.14.1-1
- 1.14.2-1
- 1.14.2-1ubuntu1
- 1.14.3-2ubuntu2~20.04.1
- 1.14.3-2ubuntu2~20.04.2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.16 Ubuntu:Pro:20.04:LTS
- Softwareversionen
- 1.16.2-0ubuntu1~20.04
- 1.16.2-0ubuntu1~20.04.1
- 1.16.2-0ubuntu1~20.04.1+esm1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.20 Ubuntu:20.04:LTS
- Softwareversionen
- 1.20.3-1ubuntu0.1~20.04
- 1.20.3-1ubuntu0.1~20.04.1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.17 Ubuntu:22.04:LTS
- Softwareversionen
- 1.17-1ubuntu2
- 1.17.3-1ubuntu1
- 1.17.3-1ubuntu2
- 1.17.13-3ubuntu1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.17.13-3ubuntu1.2
Auf 1.17.13-3ubuntu1.2 aktualisieren
golang-1.18 Ubuntu:22.04:LTS
- Softwareversionen
- 1.18~beta1-0ubuntu1
- 1.18~beta2-1ubuntu1
- 1.18~beta2-1ubuntu2
- 1.18~rc1-1ubuntu1
- 1.18-1ubuntu1
- 1.18.1-1ubuntu1
- 1.18.1-1ubuntu1.1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 1.18.1-1ubuntu1.2
Auf 1.18.1-1ubuntu1.2 aktualisieren
golang-1.20 Ubuntu:22.04:LTS
- Softwareversionen
- 1.20.3-1ubuntu0.1~22.04
- 1.20.3-1ubuntu0.1~22.04.1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
golang-1.13 Ubuntu:Pro:22.04:LTS
- Softwareversionen
- 1.13.8-1ubuntu2
- 1.13.8-1ubuntu2.22.04.1
- 1.13.8-1ubuntu2.22.04.1+esm1
- 1.13.8-1ubuntu2.22.04.2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
Originalquellen
- https://go.dev/issue/60305
- https://go.dev/cl/501225
- https://groups.google.com/g/golang-announce/c/q5135a9d924/m/j0ZoAJOHAwAJ
- https://pkg.go.dev/vuln/GO-2023-1841
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XBS3IIK6ADV24C5ULQU55QLT2UE762ZX/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NZ2O6YCO2IZMZJELQGZYR2WAUNEDLYV6/
- https://security.gentoo.org/glsa/202311-09
- https://security.netapp.com/advisory/ntap-20241115-0009/
- https://nvd.nist.gov/vuln/detail/CVE-2023-29404