Vulnerability · Published Mar 9, 2024 · Assigned by GitHub_M

CVE-2024-28176jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintext

Medium 4.9

In plain English

A medium-severity uncontrolled resource consumption in jose from panva. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.9Medium
Exploit odds (30 days)2.1%top 18.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

jose is JavaScript module for JSON Object Signing and Encryption, providing support for JSON Web Tokens (JWT), JSON Web Signature (JWS), JSON Web Encryption (JWE), JSON Web Key (JWK), JSON Web Key Set (JWKS), and more. 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 unreasonable amount of CPU time or memory during JWE Decryption operations. This issue has been patched in versions 2.0.7 and 4.15.5.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8aardvark-dns2:1.10.0-1.module_el8.10.0+3792+03eaed9cALSA-2024:3968
AlmaLinux:8aardvark-dns2:1.10.0-1.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8buildah2:1.33.7-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:9buildah2:1.33.7-2.el9_4ALSA-2024:3827
AlmaLinux:8buildah-tests2:1.33.7-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:9buildah-tests2:1.33.7-2.el9_4ALSA-2024:3827
AlmaLinux:8cockpit-podman84.1-1.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8container-selinux2:2.229.0-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8containernetworking-plugins1:1.4.0-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8containernetworking-plugins1:1.4.0-2.module_el8.10.0+3792+03eaed9cALSA-2024:3968
AlmaLinux:8containers-common2:1-81.module_el8.10.0+3792+03eaed9cALSA-2024:3968
AlmaLinux:8containers-common2:1-81.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8crit3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8crit3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8criu3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8criu3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8criu-devel3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8criu-libs3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8crun1.14.3-2.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8crun1.14.3-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8fuse-overlayfs1.13-1.module_el8.10.0+3792+03eaed9cALSA-2024:3968
AlmaLinux:8jose10-2.el8_10.3ALSA-2024:5294
AlmaLinux:9jose14-1.el9ALSA-2024:9181
AlmaLinux:8libjose10-2.el8_10.3ALSA-2024:5294
AlmaLinux:9libjose14-1.el9ALSA-2024:9181
AlmaLinux:8libjose-devel10-2.el8_10.3ALSA-2024:5294
AlmaLinux:9libjose-devel14-1.el9ALSA-2024:9181
AlmaLinux:8libslirp4.4.0-2.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8libslirp4.4.0-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8libslirp-devel4.4.0-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8libslirp-devel4.4.0-2.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8netavark2:1.10.3-1.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8netavark2:1.10.3-1.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8oci-seccomp-bpf-hook1.2.10-1.module_el8.10.0+3792+03eaed9cALSA-2024:3968
AlmaLinux:8podman4:4.9.4-3.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:9podman4:4.9.4-4.el9_4ALSA-2024:3826
AlmaLinux:8podman-catatonit4:4.9.4-3.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8podman-docker4:4.9.4-3.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:9podman-docker4:4.9.4-4.el9_4ALSA-2024:3826
AlmaLinux:8podman-gvproxy4:4.9.4-3.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8podman-plugins4:4.9.4-3.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:9podman-plugins4:4.9.4-4.el9_4ALSA-2024:3826
AlmaLinux:8podman-remote4:4.9.4-3.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:9podman-remote4:4.9.4-4.el9_4ALSA-2024:3826
AlmaLinux:8podman-tests4:4.9.4-3.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:9podman-tests4:4.9.4-4.el9_4ALSA-2024:3826
AlmaLinux:8python3-criu3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8python3-criu3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8python3-podman4.9.0-1.module_el8.10.0+3792+03eaed9cALSA-2024:3968
AlmaLinux:8runc1:1.1.12-1.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8runc1:1.1.12-1.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8skopeo2:1.14.3-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8skopeo2:1.14.3-2.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8skopeo-tests2:1.14.3-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8skopeo-tests2:1.14.3-2.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8slirp4netns1.2.3-1.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8slirp4netns1.2.3-1.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8toolbox0.0.99.5-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8toolbox0.0.99.5-2.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8toolbox-tests0.0.99.5-2.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8toolbox-tests0.0.99.5-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8udica0.2.6-21.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
Rocky Linux:8aardvark-dns2:1.10.0-1.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8buildah2:1.33.7-2.module+el8.10.0+1829+9bb2696fRLSA-2024:3968
Rocky Linux:9buildah2:1.33.7-2.el9_4RLSA-2024:3827
Rocky Linux:8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8conmon3:2.1.10-1.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8container-selinux2:2.229.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8containernetworking-plugins1:1.4.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8containers-common2:1-81.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8criu0:3.18-5.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8crun0:1.14.3-2.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8fuse-overlayfs0:1.13-1.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8jose0:10-2.el8_10.3RLSA-2024:5294
Rocky Linux:9jose0:14-1.el9RLSA-2024:9181
Rocky Linux:8libslirp0:4.4.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8netavark2:1.10.3-1.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8oci-seccomp-bpf-hook0:1.2.10-1.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8podman4:4.9.4-3.module+el8.10.0+1829+9bb2696fRLSA-2024:3968
Rocky Linux:9podman4:4.9.4-4.el9_4RLSA-2024:3826
Rocky Linux:8python-podman0:4.9.0-1.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8runc1:1.1.12-1.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8skopeo2:1.14.3-2.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8slirp4netns0:1.2.3-1.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Rocky Linux:8toolbox0:0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2RLSA-2024:3968
Rocky Linux:8udica0:0.2.6-21.module+el8.10.0+1815+5fe7415eRLSA-2024:3968
Ubuntu:22.04:LTSnode-joseno fix listedUBUNTU-CVE-2024-28176
Ubuntu:24.04:LTSnode-joseno fix listedUBUNTU-CVE-2024-28176
Ubuntu:25.10node-joseno fix listedUBUNTU-CVE-2024-28176
npmjose2.0.7GHSA-hhhv-q57g-882q
npmjose4.15.5GHSA-hhhv-q57g-882q
npmjose-node-cjs-runtime4.15.5GHSA-hhhv-q57g-882q
npmjose-node-esm-runtime4.15.5GHSA-hhhv-q57g-882q

Affected products (as reported)

VendorProductVersions
panva jose >= 3.0.0, <= 4.15.4< 2.0.7

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

References