CVE-2024-28122
JWX vulnerable to a denial of service attack using compressed JWE message
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By GitHub_M
- 5 days later
· 5 days later
Published
- 13 months later
· 13 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | Medium6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.57% · top 53% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
- affected >= 2.0.0, < 2.0.21
- affected >= 1.2.0, < 1.2.29
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/lestrrat-go/jwxGHSA-hj3v-m684-v259 (opens in a new tab)
- Gogithub.com/lestrrat-go/jwx/v2GHSA-hj3v-m684-v259 (opens in a new tab)
References (3)
- https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hj3v-m684-v259 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-28122)Record last updated .