- Accueil
- Vulnérabilités
- CVE-2025-30204
CVE-2025-30204
golang-jwt is a Go implementation of JSON Web Tokens. Starting in version 3.2.0 and prior to versions 5.2.2…
Moyen
48/100
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Go (3 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| github.com/golang-jwt/jwt | Versions non précisées | — | OSV |
| github.com/golang-jwt/jwt/v4 | avant 4.5.2 (exclu) |
4.5.2 |
OSV |
| github.com/golang-jwt/jwt/v5 | de 5.0.0-rc.1 (inclus) à 5.2.2 (exclu) |
5.2.2 |
OSV |
Correctif
Mise à jour — Go/github.com/golang-jwt/jwt/v4 4.5.2; Go/github.com/golang-jwt/jwt/v5 5.2.2source officielle
Source : OSV
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)
Avis CERT-FR
- CERTFR-2026-AVI-1486 — Multiples vulnérabilités dans les produits VMware (09 novembre 2026) 9 nov. 2026
- GO-2025-3553 — Excessive memory allocation during header parsing in github.com/golang-jwt/jwt 26 mars 2025
Références
- https://github.com/golang-jwt/jwt/commit/0951d184286dece21f73c85673fd308786ffe9c3FIX
- https://github.com/golang-jwt/jwt/security/advisories/GHSA-mh63-6h87-95cpADVISORY
- https://github.com/golang-jwt/jwt/commit/bf316c48137a1212f8d0af9288cc9ce8e59f1afb
- https://security.netapp.com/advisory/ntap-20250404-0002/
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:security-advisories@github.com)- Faiblesse
- CWE-405 · Autre (CWE-405)