golang-jwt up to 4.5.1/5.2.1 Authorization Header parse.parseUnverified amplification
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic was found in golang-jwt jwt up to 4.5.1/5.2.1. The affected element is the function parse.parseUnverified of the component Authorization Header Handler. The manipulation results in amplification.
This vulnerability is identified as CVE-2025-30204. The attack can be executed remotely. There is not any exploit available.
Upgrading the affected component is advised.
Details
A vulnerability classified as problematic has been found in golang-jwt jwt up to 4.5.1/5.2.1. Affected is the function parse.parseUnverified of the component Authorization Header Handler. The manipulation with an unknown input leads to a amplification vulnerability. CWE is classifying the issue as CWE-405. 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 authorization, i.e., the adversary's influence is "asymmetric." This is going to have an impact on availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is traded as CVE-2025-30204 since 03/18/2025. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1499.
The vulnerability scanner Nessus provides a plugin with the ID 233435 (Oracle Linux 9 : grafana (ELSA-2025-3344)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 4.5.2 or 5.2.2 eliminates this vulnerability. Applying the patch 0951d184286dece21f73c85673fd308786ffe9c3 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (233435) and CERT Bund (WID-SEC-2025-0633). Once again VulDB remains the best source for vulnerability data.
Affected
- Red Hat Enterprise Linux
- Fedora Linux
- SUSE Linux
- Oracle Linux
- SUSE openSUSE
- Open Source Gitea
- Red Hat OpenShift
- IBM Storage Scale
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/golang-jwt/jwt/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 7.5
CNA Vector (GitHub_M): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: AmplificationCWE: CWE-405 / CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 233435
Nessus Name: Oracle Linux 9 : grafana (ELSA-2025-3344)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: jwt 4.5.2/5.2.2
Patch: 0951d184286dece21f73c85673fd308786ffe9c3
Timeline
03/18/2025 🔍03/22/2025 🔍
03/22/2025 🔍
01/04/2026 🔍
Sources
Product: github.comAdvisory: GHSA-mh63-6h87-95cp
Status: Confirmed
CVE: CVE-2025-30204 (🔍)
GCVE (CVE): GCVE-0-2025-30204
GCVE (VulDB): GCVE-100-300636
CERT Bund: WID-SEC-2025-0633 - Gitea: Mehrere Schwachstellen
Entry
Created: 03/22/2025 05:35Updated: 01/04/2026 23:58
Changes: 03/22/2025 05:35 (67), 03/28/2025 23:01 (2), 04/05/2025 07:54 (1), 07/28/2025 05:34 (7), 01/04/2026 23:58 (1)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.