CVE-2021-27918Golang Go
Alta 7.5 Sin autenticación
Seguir: esta CVE · Golang · Golang Go Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.5% probabilidad de explotación en 30 días · percentil 85
- Requiere autenticación
- No
- Publicada
- 11 mar 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-835
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1 has an infinite loop if a custom TokenReader (for xml.NewTokenDecoder) returns EOF in the middle of an element. This can occur in the Decode, DecodeElement, or Skip method.
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 | stdlib |
< 1.15.9 |
1.15.9 |
go get stdlib@v1.15.9 |
| Go | stdlib |
≥ 1.16.0-0 < 1.16.1 |
1.16.1 |
go get stdlib@v1.16.1 |
Según OSV / GitHub Advisories (GO-2021-0234). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| golang | go | < 1.15.9 |
| golang | go | ≥ 1.16.0 < 1.16.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- groups.google.com Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory