CVE-2024-28122

JWX vulnerable to a denial of service attack using compressed JWE message

MEDIUM
6.8
CVSS Score
Published: March 9, 2024 at 12:45 AM UTC
Updated: June 17, 2026 at 07:21 AM UTC
2 products affected across 1 vendorJwxGo Jwx

Using jwx by lestrrat-go?

Get instant alerts when new vulnerabilities affect jwx - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.8
Exploit prediction
EPSS 0.6%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.2.29v < 2.0.211.2.0 ≤ v < 1.2.292.0.0 ≤ v < 2.0.211.2.02.0.0
Affected range stops below 1.2.29, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.0.21, so it looks safe — our inference, not a vendor statement
v < 1.2.29v < 2.0.211.2.0 ≤ v < 1.2.292.0.0 ≤ v < 2.0.211.2.02.0.0
Affected range stops below 1.2.29, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.0.21, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.8MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-400

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card