CVE-2021-31525Golang Go
Media 5.9 Sin autenticación
Seguir: esta CVE · Golang · Golang Go Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 51
- CVSS 3.1
- 5.9
- EPSS
- 3.7% probabilidad de explotación en 30 días · percentil 91
- Requiere autenticación
- No
- Publicada
- 27 may 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-674
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.
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 | golang.org/x/net |
< 0.0.0-20210428140749-89ef3d95e781 |
0.0.0-20210428140749-89ef3d95e781 |
go get golang.org/x/net@v0.0.0-20210428140749-89ef3d95e781 |
| Go | golang.org/x/net |
< 0.0.0-20210428140749-89ef3d95e781 |
0.0.0-20210428140749-89ef3d95e781 |
go get golang.org/x/net@v0.0.0-20210428140749-89ef3d95e781 |
| Go | stdlib |
< 1.15.12 |
1.15.12 |
go get stdlib@v1.15.12 |
| Go | stdlib |
≥ 1.16.0-0 < 1.16.4 |
1.16.4 |
go get stdlib@v1.16.4 |
Según OSV / GitHub Advisories (GHSA-h86h-8ppg-mxmh, GO-2022-0236). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| golang | go | < 1.15.12 |
| golang | go | ≥ 1.16.0 < 1.16.4 |
| fedoraproject | fedora | 34 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Issue Tracking Patch Third Party Advisory
- groups.google.com Mailing List Third Party Advisory
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory