216.73.217.22

CVE-2025-30204

· Published 21/03/2025 22:15 · Modified 21/03/2025 22:15

Labels: CVE-2025-30204 2025-03-21CVE-2025-30204CWE-405[email protected]

Essential information

Published
21/03/2025 22:15
Modified
21/03/2025 22:15
Author
Creator
CVSS
7.5 HIGH (v3.1)
CISA KEV
No
CWE
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS metrics

Description

golang-jwt is a Go implementation of JSON Web Tokens. Prior to 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.

NVD status

Status
Received — CVE has been recently published to the CVE List and has been received by the NVD.
Source
[email protected]
NVD
View on NVD

Affected products (CPE)

ProductCPE
github / golang-jwt cpe:2.3:a:github:golang-jwt:<5.2.2:*:*:*:*:*:*:*
github / golang-jwt cpe:2.3:a:github:golang-jwt:<4.5.2:*:*:*:*:*:*:*

References