{"id":"CVE-2024-28122","state":"PUBLISHED","title":"JWX vulnerable to a denial of service attack using compressed JWE message","description":" 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.","publishedAt":"2024-03-09T00:45:50.129Z","updatedAt":"2025-04-16T15:49:42.161Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["lestrrat-go jwx"],"affected":[{"vendor":"lestrrat-go","product":"jwx","versions":[{"version":">= 2.0.0, < 2.0.21","status":"affected"},{"version":">= 1.2.0, < 1.2.29","status":"affected"}]}],"references":["https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259","https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29","https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/28xxx/CVE-2024-28122.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-28122","state":"PUBLISHED","datePublished":"2024-03-09T00:45:50.129Z","dateUpdated":"2025-04-16T15:49:42.161Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-03-04T14:19:14.060Z"},"containers":{"cna":{"title":" JWX vulnerable to a denial of service attack using compressed JWE message","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."}],"affected":[{"vendor":"lestrrat-go","product":"jwx","versions":[{"version":">= 2.0.0, < 2.0.21","status":"affected"},{"version":">= 1.2.0, < 1.2.29","status":"affected"}]}],"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"]}],"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","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-03-09T00:45:50.129Z"},"source":{"advisory":"GHSA-hj3v-m684-v259","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"lestrrat-go","product":"jwx","defaultStatus":"unknown","versions":[{"version":"2.0.0","status":"affected","lessThan":"2.0.21","versionType":"custom"}],"cpes":["cpe:2.3:a:lestrrat-go:jwx:2.0.0:*:*:*:*:*:*:*"]},{"vendor":"lestrrat-go","product":"jwx","defaultStatus":"unknown","versions":[{"version":"1.2.0","status":"affected","lessThan":"1.2.29","versionType":"custom"}],"cpes":["cpe:2.3:a:lestrrat-go:jwx:1.2.0:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-03-11T16:48:06.985221Z","id":"CVE-2024-28122","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-16T15:49:42.161Z"}},{"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":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:48:48.987Z"}}]}}}