PT-2024-2063 · Npm+4 · Jose+4

P3Ngu1Nw

·

Published

2024-03-07

·

Updated

2025-12-05

·

CVE-2024-28176

CVSS v2.0

6.1

Medium

VectorAV:N/AC:L/Au:M/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions jose versions prior to 2.0.7 jose versions prior to 4.15.5
Description A vulnerability has been identified in the JSON Web Encryption (JWE) decryption interfaces, specifically related to the support for decompressing plaintext after its decryption. Under certain conditions, it is possible to have the user's environment consume an unreasonable amount of CPU time or memory during JWE Decryption operations. The impact is limited to Node.js users utilizing the JWE decryption APIs to decrypt JWEs from untrusted sources.
Recommendations For versions prior to 2.0.7, update to version 2.0.7 to limit the decompression routine and prevent excessive CPU time or memory consumption. For versions prior to 4.15.5, update to version 4.15.5 to limit the decompression routine and prevent excessive CPU time or memory consumption. In version 4.x, further adjust the limit via the inflateRaw decryption option implementation. As a temporary workaround, detect and reject JWEs with compressed payloads by checking the token's protected header and throwing an error if compression is detected.

Exploit

Fix

Resource Exhaustion

Weakness Enumeration

Related Identifiers

ALSA-2024:3826
ALSA-2024:3827
ALSA-2024:3968
ALSA-2024:5294
ALSA-2024:9181
ALSA-2024_2549
ALSA-2024_3254
ALSA-2024_3826
ALSA-2024_3827
ALSA-2024_3968
ALSA-2024_5294
ALSA-2024_9181
ALSA-2025_16880
BDU:2024-01954
CESA-2024_3968
CESA-2024_5294
CVE-2024-28176
GHSA-HHHV-Q57G-882Q
INFSA-2024_3826
INFSA-2024_3827
INFSA-2024_3968
INFSA-2024_5294
INFSA-2024_9181
MGASA-2024-0343
OESA-2025-1075
OESA-2025-1076
RHSA-2024:0045
RHSA-2024:3826
RHSA-2024:3827
RHSA-2024:3968
RHSA-2024:5294
RHSA-2024:9181
RHSA-2024_3826
RHSA-2024_3827
RHSA-2024_3968
RHSA-2024_5294
RHSA-2024_9181
RLSA-2024:3826
RLSA-2024:3827
RLSA-2024:3968
RLSA-2024:9181

Affected Products

Almalinux
Centos
Red Hat
Rocky Linux
Jose