CVE-2025-30204golang-jwt jwt
Alta 7.5 Sin autenticación
Seguir: esta CVE · golang-jwt · golang-jwt jwt Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 21 mar 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-405
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
golang-jwt is a Go implementation of JSON Web Tokens. Starting in version 3.2.0 and prior to versions 5.2.2 and 4.5.2, the function parse.ParseUnverified splits (via a call to strings.Split) its argument (which is untrusted data) on periods. As a result, in the face of a malicious request whose Authorization header consists of Bearer followed by many period characters, a call to that function incurs allocations to the tune of O(n) bytes (where n stands for the length of the function's argument), with a constant factor of about 16. This issue is fixed in 5.2.2 and 4.5.2.
Qué hacer
- Aplica la actualización de seguridad del fabricante para jwt.
- 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 | github.com/golang-jwt/jwt |
≥ 3.2.0 ≤ 3.2.2 |
sin versión corregida | — |
| Go | github.com/golang-jwt/jwt |
todas |
sin versión corregida | — |
| Go | github.com/golang-jwt/jwt/v4 |
< 4.5.2 |
4.5.2 |
go get github.com/golang-jwt/jwt/v4@v4.5.2 |
| Go | github.com/golang-jwt/jwt/v4 |
< 4.5.2 |
4.5.2 |
go get github.com/golang-jwt/jwt/v4@v4.5.2 |
| Go | github.com/golang-jwt/jwt/v5 |
≥ 5.0.0-rc.1 < 5.2.2 |
5.2.2 |
go get github.com/golang-jwt/jwt/v5@v5.2.2 |
| Go | github.com/golang-jwt/jwt/v5 |
≥ 5.0.0-rc.1 < 5.2.2 |
5.2.2 |
go get github.com/golang-jwt/jwt/v5@v5.2.2 |
Según OSV / GitHub Advisories (GHSA-mh63-6h87-95cp, GO-2025-3553). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- golang-jwt · jwt
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Red Hat Security Advisory: Red Hat Ceph Storage 9.0 Security and Enhancement update · Red Hat · RHSA-2026:1536 · 23 nov 2026 Media
- Red Hat Security Advisory: osbuild-composer security update · Red Hat · RHSA-2025:7967 · 23 nov 2026 Alta
- Red Hat Security Advisory: osbuild-composer security update · Red Hat · RHSA-2025:8075 · 23 nov 2026 Alta
- kubectl-retina-1.3.1-1.1 on GA media · SUSE · openSUSE-SU-2026:12297-1 · 27 oct 2026 Crítica
- kumactl-3.0.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12300-1 · 27 oct 2026 Crítica
- Security update for vexctl · SUSE · openSUSE-SU-2026:21481-1 · 30 jul 2026 Crítica
Además: Red Hat (+15), SUSE (+11)
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.