V
Scaner-VS
HomeCatalogSourcesCWECAPECATT&CKMitigationsDocs
CVE-2025-30204
DEB
High

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.P…

CVSS
7.5
High
EPSS
0.00
p24
Published
2025-01-01
Updated
2025-01-01
Description

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.

Tags · CWE
Pre-auth
CWE-400
CWE-405
CAPEC-147
CAPEC-227
CAPEC-492
Affected products
Golang-github-golang-jwt-jwtGolang-github-golang-jwt-jwtGolang-github-golang-jwt-jwtGolang-github-golang-jwt-jwtGolang-github-golang-jwt-jwtGolang-github-golang-jwt-jwt-v5Golang-github-golang-jwt-jwt-v5Golang-github-golang-jwt-jwt-v5Golang-github-golang-jwt-jwt-v5
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Timeline
2025-01-01
Published
2025-01-01
Updated
CVSS 3.1 breakdown
Attack Vector
AV: N
Network (N)
Attack Complexity
AC: L
Low (L)
Privileges Required
PR: N
None (N)
User Interaction
UI: N
None (N)
Scope
S: U
Unchanged (U)
Confidentiality Impact
C: N
None (N)
Integrity Impact
I: N
None (N)
Availability Impact
A: H
High (H)
Exploit indicators
EPSS
0.001 · p24
Known exploited (KEV)
No
MITRE ATT&CK
Inferred via CAPEC
└ via CAPEC-227 · CWE-400
Known exploits — Сканер-ВС
No Сканер-ВС checks registered for this vulnerability yet.
Affected software
ProductVendorStatus
golang-github-golang-jwt-jwtTracked
golang-github-golang-jwt-jwtTracked
golang-github-golang-jwt-jwtTracked
golang-github-golang-jwt-jwtTracked
golang-github-golang-jwt-jwtTracked
golang-github-golang-jwt-jwt-v5Tracked
golang-github-golang-jwt-jwt-v5Tracked
golang-github-golang-jwt-jwt-v5Tracked
golang-github-golang-jwt-jwt-v5Tracked
Source databases
DEB
UBU
Related vulnerabilities