CVE-2024-28122 | JWX vulnerable to a denial of service attack using compressed JWE message

Exp

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: 2024-03-09 Last update: 2025-12-05 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-28122 is rated Exploit Available (57.5/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.57%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2024-28122

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2024-28122

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.15% 0.57% +0.42%
2 2025-12-06 0.05% 0.15% +0.10%
3 2025-11-21 0.05%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-28122

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.3 4.0 [email protected]

Weakness enumeration for CVE-2024-28122

GitHub Security Advisory for CVE-2024-28122

GHSA-hj3v-m684-v259 · Severity: medium · Ecosystem: go — JWX vulnerable to a denial of service attack using compressed JWE message

OS Trackers for CVE-2024-28122

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2024-28122

Affected software / configurations for CVE-2024-28122

Vendor Product Version Raw CPE
lestrrat-go jwx < 1.2.29 cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:*
lestrrat-go jwx >= 2.0.0, < 2.0.21 cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:*

References for CVE-2024-28122

cvelogic Threat Intelligence