CVE-2023-39318Golang Go
Media 6.1 Sin autenticación
Seguir: esta CVE · Golang · Golang Go Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.0% probabilidad de explotación en 30 días · percentil 60
- Requiere autenticación
- No
- Publicada
- 8 sep 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.
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.20.8 |
1.20.8 |
go get stdlib@v1.20.8 |
| Go | stdlib |
≥ 1.21.0-0 < 1.21.1 |
1.21.1 |
go get stdlib@v1.21.1 |
Según OSV / GitHub Advisories (GO-2023-2041). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| golang | go | < 1.20.8 |
| golang | go | ≥ 1.21.0 < 1.21.1 |
Boletines oficiales
- Red Hat Security Advisory: OpenShift Container Platform 4.14.2 packages and security update · Red Hat · RHSA-2023:6840 · 2 oct 2024 Alta
- Red Hat Security Advisory: OpenShift Container Platform 4.14.0 security update · Red Hat · RHSA-2023:5009 · 2 oct 2024 Alta
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
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
- pkg.go.dev Vendor Advisory
- security.gentoo.org
- security.netapp.com Third Party Advisory