Refine your search
1 vulnerability found for jwx by lestrrat-go
CVE-2024-28122 (GCVE-0-2024-28122)
Vulnerability from nvd
Published
2024-03-09 00:45
Modified
2025-04-16 15:49
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-400 - Uncontrolled Resource Consumption
Summary
JWX is Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. This vulnerability allows an attacker with a trusted public key to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. This issue has been patched in versions 1.2.29 and 2.0.21.
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| lestrrat-go | jwx |
Version: >= 2.0.0, < 2.0.21 Version: >= 1.2.0, < 1.2.29 |
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:lestrrat-go:jwx:2.0.0:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "jwx",
"vendor": "lestrrat-go",
"versions": [
{
"lessThan": "2.0.21",
"status": "affected",
"version": "2.0.0",
"versionType": "custom"
}
]
},
{
"cpes": [
"cpe:2.3:a:lestrrat-go:jwx:1.2.0:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "jwx",
"vendor": "lestrrat-go",
"versions": [
{
"lessThan": "1.2.29",
"status": "affected",
"version": "1.2.0",
"versionType": "custom"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-28122",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-03-11T16:48:06.985221Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-04-16T15:49:42.161Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-02T00:48:48.987Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259"
},
{
"name": "https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29"
},
{
"name": "https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "jwx",
"vendor": "lestrrat-go",
"versions": [
{
"status": "affected",
"version": "\u003e= 2.0.0, \u003c 2.0.21"
},
{
"status": "affected",
"version": "\u003e= 1.2.0, \u003c 1.2.29"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": " JWX is Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. This vulnerability allows an attacker with a trusted public key to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. This issue has been patched in versions 1.2.29 and 2.0.21."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 6.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "HIGH",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-400",
"description": "CWE-400: Uncontrolled Resource Consumption",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-03-09T00:45:50.129Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259"
},
{
"name": "https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29"
},
{
"name": "https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21"
}
],
"source": {
"advisory": "GHSA-hj3v-m684-v259",
"discovery": "UNKNOWN"
},
"title": " JWX vulnerable to a denial of service attack using compressed JWE message"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-28122",
"datePublished": "2024-03-09T00:45:50.129Z",
"dateReserved": "2024-03-04T14:19:14.060Z",
"dateUpdated": "2025-04-16T15:49:42.161Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}