PT-2024-2083 · Jwcrypto+6 · Jwcrypto+6
P3Ngu1Nw
·
Published
2024-03-06
·
Updated
2025-12-22
·
CVE-2024-28102
CVSS v2.0
6.8
Medium
| Vector | AV:N/AC:L/Au:S/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
jwcrypto versions prior to 1.5.6
Description
The issue is related to an uncontrolled resource consumption in the jwcrypto library. An attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time.
Recommendations
For versions prior to 1.5.6, to mitigate this vulnerability, it is recommended to limit the maximum token length to 250K.
As a temporary workaround, consider restricting the processing of tokens with high compression ratios until a patch is available.
Update to version 1.5.6 or later to fix the vulnerability.
Exploit
Fix
DoS
Allocation of Resources Without Limits
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Red Hat
Red Os
Rocky Linux
Jwcrypto