CVE-2024-28122 JWX vulnerable to a denial of service attack using compressed JWE message
MediumCVSS 6.8
EPSS 0.68%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| lestrrat-go github.com/lestrrat-go/jwx/v2 | < 1.2.29; = >= 1.2.0, < 1.2.29; = >= 2.0.0, < 2.0.21; >= 1.2.0, < 1.2.29 +1 more | 1.2.29, 2.0.21 | Fixed |
| lestrrat-go github.com/lestrrat-go/jwx/v2(Go) | < 1.2.29; < 2.0.21 | 1.2.29, 2.0.21 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lestrrat-go github.com/lestrrat-go/jwx/v2(Go) | < 2.0.21 | 2.0.21 |
| lestrrat-go github.com/lestrrat-go/jwx/v2(Go) | < 1.2.29 | 1.2.29 |
| lestrrat-go github.com/lestrrat-go/jwx/v2 | = >= 2.0.0, < 2.0.21 | No fix listed |
| lestrrat-go github.com/lestrrat-go/jwx/v2 | = >= 1.2.0, < 1.2.29 | No fix listed |
| lestrrat-go github.com/lestrrat-go/jwx/v2 | >= 2.0.0, < 2.0.21 | 2.0.21 |
| lestrrat-go github.com/lestrrat-go/jwx/v2 | >= 1.2.0, < 1.2.29 | 1.2.29 |
| lestrrat-go github.com/lestrrat-go/jwx/v2 | < 1.2.29 | 1.2.29 |
References
- https://github.com/lestrrat-go/jwx/security/advisories/GHSA-hj3v-m684-v259 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- https://github.com/lestrrat-go/jwx/releases/tag/v1.2.29 product release-notes
- https://github.com/lestrrat-go/jwx/releases/tag/v2.0.21 product release-notes
- github.com