CVE-2024-28122
MEDIUM 6.8CVSS 3.1JWX vulnerable to a denial of service attack using compressed JWE message
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
- 9 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- GHSA-hj3v-m684-v259GO-2024-2632
- Sources
- NVDJSONOSV GHSA-hj3v-m684-v259JSONOSV GO-2024-2632JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lestrrat-go | jwxcpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:* |
< 1.2.29 | 1.2.29 |
| NVD | lestrrat-go | jwxcpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.21 | 2.0.21 |
| OSV | Go | github.com/lestrrat-go/jwx/v2 | < 2.0.21 | 2.0.21 |
| OSV | Go | github.com/lestrrat-go/jwx | < 1.2.29 | 1.2.29 |
References
- https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29 · Product, Release Notes, WEB
- https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21 · Product, Release Notes, WEB
- https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259 · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-28122 · ADVISORY
- https://github.com/lestrrat-go/jwx/commit/d01027d74c7376d66037a10f4f64af9af26a7e34 · WEB, FIX
- https://github.com/lestrrat-go/jwx/commit/d43f2ceb7f0c13714dfe8854d6439766e86faa76 · WEB, FIX
- https://github.com/lestrrat-go/jwx · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 9 Mar 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 May 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Mar 2024)