{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-28122","id":"CVE-2024-28122","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.","descriptionLong":" 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.","published":"2024-03-09T00:45:50.129Z","updated":"2026-10-28T02:30:21.259458784Z","reserved":"2024-03-04T14:19:14.060Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["lestrrat-go jwx"],"affectedProducts":[{"vendor":"lestrrat-go","product":"jwx","defaultStatus":null,"versions":[{"version":">= 2.0.0, < 2.0.21","status":"affected"},{"version":">= 1.2.0, < 1.2.29","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/lestrrat-go/jwx/v2","purl":"pkg:golang/github.com/lestrrat-go/jwx/v2","ranges":["<2.0.21"],"fixed":["2.0.21"],"advisory":"GHSA-hj3v-m684-v259"},{"ecosystem":"Go","name":"github.com/lestrrat-go/jwx","purl":"pkg:golang/github.com/lestrrat-go/jwx","ranges":["<1.2.29"],"fixed":["1.2.29"],"advisory":"GHSA-hj3v-m684-v259"}],"cwes":["CWE-400"],"aliases":["GHSA-hj3v-m684-v259","GO-2024-2632"],"references":[{"url":"https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29","tags":["x_refsource_MISC","x_transferred","Product","Release Notes","web"]},{"url":"https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21","tags":["x_refsource_MISC","x_transferred","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28122.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28122","tags":["advisory"]},{"url":"https://github.com/lestrrat-go/jwx/commit/d01027d74c7376d66037a10f4f64af9af26a7e34","tags":["web","fix"]},{"url":"https://github.com/lestrrat-go/jwx/commit/d43f2ceb7f0c13714dfe8854d6439766e86faa76","tags":["web","fix"]},{"url":"https://github.com/lestrrat-go/jwx","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.0057,"epssPercentile":0.47987,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-28122","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28122","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-28122","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hj3v-m684-v259","ok":true,"note":"GHSA-hj3v-m684-v259"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-28122","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}