Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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