CVE-2024-28122 (GCVE-0-2024-28122)
Vulnerability from cvelistv5
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",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2024-28122\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-03-09T01:15:06.940\",\"lastModified\":\"2025-12-05T16:23:49.480\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"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.\"},{\"lang\":\"es\",\"value\":\"JWX es un m\u00f3dulo Go que implementa varias tecnolog\u00edas JWx (JWA/JWE/JWK/JWS/JWT, tambi\u00e9n conocidas como JOSE). Esta vulnerabilidad permite a un atacante con una clave p\u00fablica confiable provocar una condici\u00f3n de denegaci\u00f3n de servicio (DoS) mediante la creaci\u00f3n de un token JSON Web Encryption (JWE) malicioso con una relaci\u00f3n de compresi\u00f3n excepcionalmente alta. Este problema se solucion\u00f3 en las versiones 1.2.29 y 2.0.21.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H\",\"baseScore\":6.8,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.3,\"impactScore\":4.0}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-400\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"1.2.29\",\"matchCriteriaId\":\"79C2CC9A-8D3D-4779-9948-92DCF7AB83FE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.0.0\",\"versionEndExcluding\":\"2.0.21\",\"matchCriteriaId\":\"2F88C1FB-C158-42C7-B032-DC5B7DC21134\"}]}]}],\"references\":[{\"url\":\"https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Product\",\"Release Notes\"]},{\"url\":\"https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Product\",\"Release Notes\"]},{\"url\":\"https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Vendor Advisory\",\"Exploit\"]},{\"url\":\"https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Product\",\"Release Notes\"]},{\"url\":\"https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Product\",\"Release Notes\"]},{\"url\":\"https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\",\"Exploit\"]}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259\", \"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/releases/tag/v1.2.29\", \"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/v2.0.21\", \"name\": \"https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T00:48:48.987Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-28122\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-03-11T16:48:06.985221Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:lestrrat-go:jwx:2.0.0:*:*:*:*:*:*:*\"], \"vendor\": \"lestrrat-go\", \"product\": \"jwx\", \"versions\": [{\"status\": \"affected\", \"version\": \"2.0.0\", \"lessThan\": \"2.0.21\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}, {\"cpes\": [\"cpe:2.3:a:lestrrat-go:jwx:1.2.0:*:*:*:*:*:*:*\"], \"vendor\": \"lestrrat-go\", \"product\": \"jwx\", \"versions\": [{\"status\": \"affected\", \"version\": \"1.2.0\", \"lessThan\": \"1.2.29\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-07-23T14:50:35.480Z\"}}], \"cna\": {\"title\": \" JWX vulnerable to a denial of service attack using compressed JWE message\", \"source\": {\"advisory\": \"GHSA-hj3v-m684-v259\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 6.8, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"HIGH\", \"confidentialityImpact\": \"NONE\"}}], \"affected\": [{\"vendor\": \"lestrrat-go\", \"product\": \"jwx\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003e= 2.0.0, \u003c 2.0.21\"}, {\"status\": \"affected\", \"version\": \"\u003e= 1.2.0, \u003c 1.2.29\"}]}], \"references\": [{\"url\": \"https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259\", \"name\": \"https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29\", \"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/v2.0.21\", \"name\": \"https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21\", \"tags\": [\"x_refsource_MISC\"]}], \"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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-400\", \"description\": \"CWE-400: Uncontrolled Resource Consumption\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-03-09T00:45:50.129Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-28122\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-04-16T15:49:42.161Z\", \"dateReserved\": \"2024-03-04T14:19:14.060Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-03-09T00:45:50.129Z\", \"assignerShortName\": \"GitHub_M\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…