1. Accueil
  2. Vulnérabilités
  3. 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…

Publiée le 21 mars 2025 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

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))
Go
ProduitVersionsCorrigé dansSource
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

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)

Avis CERT-FR

Références

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)

Comment sont obtenues et calculées ces données