2025-03-18 19:00:33 +00:00
{
2025-03-21 22:00:32 +00:00
"data_version" : "4.0" ,
2025-03-18 19:00:33 +00:00
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"CVE_data_meta" : {
"ID" : "CVE-2025-30204" ,
2025-03-21 22:00:32 +00:00
"ASSIGNER" : "security-advisories@github.com" ,
"STATE" : "PUBLIC"
2025-03-18 19:00:33 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2025-04-10 14:00:36 +00:00
"value" : "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."
2025-03-21 22:00:32 +00:00
}
]
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "CWE-405: Asymmetric Resource Consumption (Amplification)" ,
"cweId" : "CWE-405"
}
]
}
]
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "golang-jwt" ,
"product" : {
"product_data" : [
{
"product_name" : "jwt" ,
"version" : {
"version_data" : [
{
"version_affected" : "=" ,
2025-04-10 14:00:36 +00:00
"version_value" : ">= 3.2.0, < 4.5.2"
2025-03-21 22:00:32 +00:00
} ,
{
"version_affected" : "=" ,
"version_value" : ">= 5.0.0-rc.1, < 5.2.2"
}
]
}
}
]
}
}
]
}
} ,
"references" : {
"reference_data" : [
{
"url" : "https://github.com/golang-jwt/jwt/security/advisories/GHSA-mh63-6h87-95cp" ,
"refsource" : "MISC" ,
"name" : "https://github.com/golang-jwt/jwt/security/advisories/GHSA-mh63-6h87-95cp"
} ,
{
"url" : "https://github.com/golang-jwt/jwt/commit/0951d184286dece21f73c85673fd308786ffe9c3" ,
"refsource" : "MISC" ,
"name" : "https://github.com/golang-jwt/jwt/commit/0951d184286dece21f73c85673fd308786ffe9c3"
2025-04-10 14:00:36 +00:00
} ,
{
"url" : "https://github.com/golang-jwt/jwt/commit/bf316c48137a1212f8d0af9288cc9ce8e59f1afb" ,
"refsource" : "MISC" ,
"name" : "https://github.com/golang-jwt/jwt/commit/bf316c48137a1212f8d0af9288cc9ce8e59f1afb"
2025-03-21 22:00:32 +00:00
}
]
} ,
"source" : {
"advisory" : "GHSA-mh63-6h87-95cp" ,
"discovery" : "UNKNOWN"
} ,
"impact" : {
"cvss" : [
{
"attackComplexity" : "LOW" ,
"attackVector" : "NETWORK" ,
"availabilityImpact" : "HIGH" ,
"baseScore" : 7.5 ,
"baseSeverity" : "HIGH" ,
"confidentialityImpact" : "NONE" ,
"integrityImpact" : "NONE" ,
"privilegesRequired" : "NONE" ,
"scope" : "UNCHANGED" ,
"userInteraction" : "NONE" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" ,
"version" : "3.1"
2025-03-18 19:00:33 +00:00
}
]
}
}