CVE-2023-29404Golang Go
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Golang · Golang Go Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.1% probabilidad de explotación en 30 días · percentil 82
- Requiere autenticación
- No
- Publicada
- 8 jun 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-94
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Go.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | toolchain |
< 1.19.10 |
1.19.10 |
go get toolchain@v1.19.10 |
| Go | toolchain |
≥ 1.20.0-0 < 1.20.5 |
1.20.5 |
go get toolchain@v1.20.5 |
Según OSV / GitHub Advisories (GO-2023-1841). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| golang | go | < 1.19.10 |
| golang | go | ≥ 1.20.0 < 1.20.5 |
| fedoraproject | fedora | 38 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- go.dev Patch
- go.dev Issue Tracking
- groups.google.com Mailing List Release Notes
- lists.fedoraproject.org
- lists.fedoraproject.org Mailing List
- pkg.go.dev Vendor Advisory
- security.gentoo.org
- security.netapp.com