CVE-2023-45290
CVE-2023-45290 · Memory exhaustion in multipart form parsing in net/textproto and net/http
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines.
CVSS 6.5 · Media · EPSS 1,2% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system
Productos y versiones afectados
net/textproto
- Versiones
- ≥ 0, < 1.21.8: Afectada (semver)
- ≥ 1.22.0-0, < 1.22.1: Afectada (semver)
Actualiza a 1.21.8; Actualiza a 1.22.1
golang-1.19 Debian:12
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.10 Ubuntu:14.04:LTS
- Versiones
- 1.10.4-2ubuntu1~14.04.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.18 Ubuntu:Pro:16.04:LTS
- Versiones
- 1.18.1-1ubuntu1~16.04.6
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.18.1-1ubuntu1~16.04.6+esm1
Actualiza a 1.18.1-1ubuntu1~16.04.6+esm1
golang-1.10 Ubuntu:16.04:LTS
- Versiones
- 1.10.4-2ubuntu1~16.04.1
- 1.10.4-2ubuntu1~16.04.2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.6 Ubuntu:16.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.13 Ubuntu:Pro:16.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.10 Ubuntu:18.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.13 Ubuntu:Pro:18.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.16 Ubuntu:Pro:18.04:LTS
- Versiones
- 1.16.2-0ubuntu1~18.04.2
- 1.16.2-0ubuntu1~18.04.2+esm1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.18 Ubuntu:Pro:18.04:LTS
- Versiones
- 1.18.1-1ubuntu1~18.04.3
- 1.18.1-1ubuntu1~18.04.4
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.18.1-1ubuntu1~18.04.4+esm1
Actualiza a 1.18.1-1ubuntu1~18.04.4+esm1
golang-1.8 Ubuntu:18.04:LTS
- Versiones
- 1.8.3-2ubuntu1
- 1.8.3-2ubuntu1.18.04.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.9 Ubuntu:18.04:LTS
- Versiones
- 1.9.1-2ubuntu1
- 1.9.2-1ubuntu1
- 1.9.2-3ubuntu1
- 1.9.3-1ubuntu1
- 1.9.4-1ubuntu1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.18 Ubuntu:20.04:LTS
- Versiones
- 1.18.1-1ubuntu1~20.04.1
- 1.18.1-1ubuntu1~20.04.2
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.18.1-1ubuntu1~20.04.3
Actualiza a 1.18.1-1ubuntu1~20.04.3
golang-1.21 Ubuntu:20.04:LTS
- Versiones
- 1.21.1-1~ubuntu20.04.1
- 1.21.1-1~ubuntu20.04.2
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.21.1-1~ubuntu20.04.3
Actualiza a 1.21.1-1~ubuntu20.04.3
golang-1.13 Ubuntu:20.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.14 Ubuntu:20.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.16 Ubuntu:Pro:20.04:LTS
- Versiones
- 1.16.2-0ubuntu1~20.04
- 1.16.2-0ubuntu1~20.04.1
- 1.16.2-0ubuntu1~20.04.1+esm1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.20 Ubuntu:20.04:LTS
- Versiones
- 1.20.3-1ubuntu0.1~20.04
- 1.20.3-1ubuntu0.1~20.04.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.17 Ubuntu:22.04:LTS
- Versiones
- 1.17-1ubuntu2
- 1.17.3-1ubuntu1
- 1.17.3-1ubuntu2
- 1.17.13-3ubuntu1
- 1.17.13-3ubuntu1.2
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.17.13-3ubuntu1.3
Actualiza a 1.17.13-3ubuntu1.3
golang-1.18 Ubuntu:22.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.18.1-1ubuntu1.2
Actualiza a 1.18.1-1ubuntu1.2
golang-1.20 Ubuntu:22.04:LTS
- Versiones
- 1.20.3-1ubuntu0.1~22.04
- 1.20.3-1ubuntu0.1~22.04.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-1.21 Ubuntu:22.04:LTS
- Versiones
- 1.21.1-1~ubuntu22.04.1
- 1.21.1-1~ubuntu22.04.2
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.21.1-1~ubuntu22.04.3
Actualiza a 1.21.1-1~ubuntu22.04.3
golang-1.13 Ubuntu:Pro:22.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
Fuentes originales
- https://go.dev/issue/65383
- https://go.dev/cl/569341
- https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
- https://pkg.go.dev/vuln/GO-2024-2599
- https://security.netapp.com/advisory/ntap-20240329-0004/
- http://www.openwall.com/lists/oss-security/2024/03/08/4
- https://nvd.nist.gov/vuln/detail/CVE-2023-45290