Sårbarheter

CVE-2025-30204

Høy 7.5 CVSS 3.1

Beskrivelse

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.

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2025-03-21
Sist endret
2026-06-17
Tildelt av
security-advisories@github.com
CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scoret av
security-advisories@github.com
Sannsynlighet for utnyttelse
0.7 % høyere enn 49 % av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
Rettelse finnes
Ikke registrert hos kildene

Berørte produkter

Leverandør Produkt Versjoner Status
github.com/golang-jwt jwt (Go) ≥ 3.2.0, ≤ 3.2.2 Berørt
github.com/golang-jwt/jwt v4 (Go) < 4.5.2 Berørt
github.com/golang-jwt/jwt v5 (Go) ≥ 5.0.0-rc.1, < 5.2.2 Berørt

Svakhetstype

  • CWE-405: Asymmetric Resource Consumption (Amplification)

    The product does not properly control situations in which an adversary can cause the product to consume or produce excessive resources without requiring the adversary to invest equivalent work or otherwise prove authori…

Referanser

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter