CVE-2024-28122
JWX vulnerable to a denial of service attack using compressed JWE message in github.com/lestrrat-go/jwx
6.8
MEDIUM
CVSS 3.1
EPSS 0.15%
Description
An attacker with a trusted public key may cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. When this token is processed by the recipient, it results in significant memory allocation and processing time during decompression.
How to fix CVE-2024-28122
To remediate CVE-2024-28122, upgrade the affected package to a fixed version below.
- —upgrade to 1.2.29 or later
- —upgrade to 1.2.29 or later
- —upgrade to 2.0.21 or later
- —upgrade to 2.0.21 or later
Is CVE-2024-28122 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.2.29
- from 0, < 1.2.29
- from 0, < 2.0.21
- from 0, < 2.0.21
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H |