CVE-2024-28122
Medium
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.
SeverityMedium
CVSS6.8
Exploit probability—
ProductLestrrat-go Jwx
PublishedMar 9, 2024
First seenMar 9, 2024
Weakness typeCWE-400Uncontrolled resource consumption
How to fix
Update
- lestrrat-go jwx1.2.29, 2.0.21 or later
- github.com/lestrrat-go/jwx/v22.0.21 or later
- github.com/lestrrat-go/jwx1.2.29 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lestrrat-go jwx | v < 1.2.29, 2.0.0 ≤ v < 2.0.21 | 1.2.29, 2.0.21 |
| github.com/lestrrat-go/jwx/v2Go | v < 2.0.21 | 2.0.21 |
| github.com/lestrrat-go/jwxGo | v < 1.2.29 | 1.2.29 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.