Skip to content
OpenAdvisories
Medium · 4.9 CVE-2024-28176 EUVD-2024-0938GHSA-hhhv-q57g-882q

jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintext

Published Mar 9, 2024 · Updated Feb 13, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
panva jose >= 3.0.0, <= 4.15.4, < 2.0.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 25.10 node-jose No fix yet —
Ubuntu 24.04 LTS node-jose No fix yet —
Ubuntu 22.04 LTS node-jose No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 buildah +1 2:1.33.7-2.el9_4 RHSA-2024:3827
RHEL 9 jose +2 14-1.el9 RHSA-2024:9181
RHEL 9 podman +4 4:4.9.4-4.el9_4 RHSA-2024:3826
RHEL 8 aardvark-dns 2:1.10.0-1.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 buildah +1 2:1.33.7-2.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 cockpit-podman 84.1-1.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 conmon 3:2.1.10-1.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 container-selinux 2:2.229.0-2.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 containernetworking-plugins 1:1.4.0-2.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 containers-common 2:1-81.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 crit +4 3.18-5.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 crun 1.14.3-2.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 fuse-overlayfs 1.13-1.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 jose +2 10-2.el8_10.3 RHSA-2024:5294
RHEL 8 libslirp +1 4.4.0-2.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 netavark 2:1.10.3-1.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 oci-seccomp-bpf-hook 1.2.10-1.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 podman +6 4:4.9.4-3.module+el8.10.0+21974+acd2159c RHSA-2024:3968
RHEL 8 python-podman +1 4.9.0-1.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 runc 1:1.1.12-1.module+el8.10.0+21974+acd2159c RHSA-2024:3968
RHEL 8 skopeo +1 2:1.14.3-2.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 slirp4netns 1.2.3-1.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 toolbox +1 0.0.99.5-2.module+el8.10.0+21962+8143777b RHSA-2024:3968
RHEL 8 udica 0.2.6-21.module+el8.10.0+21962+8143777b RHSA-2024:3968
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Openshift Ironic 4 python-eventlet +1 0.33.1-6.el9 RHSA-2024:0045
Red Hat OpenShift 4 butane +1 0.21.0-1.rhaos4.16.el8 RHSA-2024:0045
Red Hat OpenShift 4 cri-o 1.29.5-5.rhaos4.16.git7032128.el8 RHSA-2024:0045
Red Hat OpenShift 4 cri-tools 1.29.0-3.1.el8 RHSA-2024:0045
Red Hat OpenShift 4 ignition +1 2.18.0-2.1.rhaos4.16.el9 RHSA-2024:0045
Red Hat OpenShift 4 openshift +5 4.16.0-202406170957.p0.g29c95f3.assembly.stream.el8 RHSA-2024:0045
Red Hat OpenShift 4 openshift-prometheus-promu +1 0.15.0-15.2.gitd5383c5.el9 RHSA-2024:0045
Red Hat OpenShift 4 ose-aws-ecr-image-credential-provider 4.16.0-202405311136.p0.ga53e9de.assembly.stream.el8 RHSA-2024:0045
Red Hat OpenShift 4 ose-azure-acr-image-credential-provider 4.16.0-202404301345.p0.g0e95532.assembly.stream.el8 RHSA-2024:0045
Red Hat OpenShift 4 ose-gcp-gcr-image-credential-provider 4.16.0-202404181812.p0.g26b43df.assembly.stream.el8 RHSA-2024:0045
Red Hat OpenShift 4 podman +6 4:4.9.4-5.1.rhaos4.16.el8 RHSA-2024:0045
Red Hat OpenShift 4 runc 4:1.1.12-3.1.rhaos4.16.el8 RHSA-2024:0045
Red Hat OpenShift 4 skopeo +1 2:1.14.4-1.rhaos4.16.el8 RHSA-2024:0045

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 buildah +1 2:1.33.7-2.el9_4 ALSA-2024:3827
AlmaLinux 9 jose +2 14-1.el9 ALSA-2024:9181
AlmaLinux 9 podman +4 4:4.9.4-4.el9_4 ALSA-2024:3826
AlmaLinux 8 aardvark-dns 2:1.10.0-1.module_el8.10.0+3792+03eaed9c ALSA-2024:3968
AlmaLinux 8 buildah +1 2:1.33.7-2.module_el8.10.0+3858+6ad51f9f ALSA-2024:3968
AlmaLinux 8 cockpit-podman 84.1-1.module_el8.10.0+3858+6ad51f9f ALSA-2024:3968
AlmaLinux 8 conmon 3:2.1.10-1.module_el8.10.0+3845+87b84552 ALSA-2024:3968
AlmaLinux 8 container-selinux 2:2.229.0-2.module_el8.10.0+3858+6ad51f9f ALSA-2024:3968
AlmaLinux 8 containernetworking-plugins 1:1.4.0-2.module_el8.10.0+3792+03eaed9c ALSA-2024:3968
AlmaLinux 8 containers-common 2:1-81.module_el8.10.0+3792+03eaed9c ALSA-2024:3968
AlmaLinux 8 crit +3 3.18-5.module_el8.10.0+3845+87b84552 ALSA-2024:3968
AlmaLinux 8 criu-devel 3.18-5.module_el8.10.0+3858+6ad51f9f ALSA-2024:3968
AlmaLinux 8 crun 1.14.3-2.module_el8.10.0+3845+87b84552 ALSA-2024:3968
AlmaLinux 8 fuse-overlayfs 1.13-1.module_el8.10.0+3792+03eaed9c ALSA-2024:3968
AlmaLinux 8 jose +2 10-2.el8_10.3 ALSA-2024:5294
AlmaLinux 8 libslirp +1 4.4.0-2.module_el8.10.0+3845+87b84552 ALSA-2024:3968
AlmaLinux 8 netavark 2:1.10.3-1.module_el8.10.0+3845+87b84552 ALSA-2024:3968
AlmaLinux 8 oci-seccomp-bpf-hook 1.2.10-1.module_el8.10.0+3792+03eaed9c ALSA-2024:3968
AlmaLinux 8 podman +6 4:4.9.4-3.module_el8.10.0+3858+6ad51f9f ALSA-2024:3968
AlmaLinux 8 python3-podman 4.9.0-1.module_el8.10.0+3792+03eaed9c ALSA-2024:3968
AlmaLinux 8 runc 1:1.1.12-1.module_el8.10.0+3845+87b84552 ALSA-2024:3968
AlmaLinux 8 skopeo +1 2:1.14.3-2.module_el8.10.0+3845+87b84552 ALSA-2024:3968
AlmaLinux 8 slirp4netns 1.2.3-1.module_el8.10.0+3845+87b84552 ALSA-2024:3968
AlmaLinux 8 toolbox +1 0.0.99.5-2.module_el8.10.0+3845+87b84552 ALSA-2024:3968
AlmaLinux 8 udica 0.2.6-21.module_el8.10.0+3858+6ad51f9f ALSA-2024:3968

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 buildah 2:1.33.7-2.el9_4 RLSA-2024:3827
Rocky Linux 9 jose 14-1.el9 RLSA-2024:9181
Rocky Linux 9 podman 4:4.9.4-4.el9_4 RLSA-2024:3826
Rocky Linux 8 aardvark-dns 2:1.10.0-1.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 buildah 2:1.33.7-2.module+el8.10.0+1829+9bb2696f RLSA-2024:3968
Rocky Linux 8 cockpit-podman 84.1-1.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 conmon 3:2.1.10-1.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 container-selinux 2:2.229.0-2.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 containernetworking-plugins 1:1.4.0-2.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 containers-common 2:1-81.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 criu 3.18-5.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 crun 1.14.3-2.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 fuse-overlayfs 1.13-1.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 jose 10-2.el8_10.3 RLSA-2024:5294
Rocky Linux 8 libslirp 4.4.0-2.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 netavark 2:1.10.3-1.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 oci-seccomp-bpf-hook 1.2.10-1.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 podman 4:4.9.4-3.module+el8.10.0+1829+9bb2696f RLSA-2024:3968
Rocky Linux 8 python-podman 4.9.0-1.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 runc 1:1.1.12-1.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 skopeo 2:1.14.3-2.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 slirp4netns 1.2.3-1.module+el8.10.0+1815+5fe7415e RLSA-2024:3968
Rocky Linux 8 toolbox 0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2 RLSA-2024:3968
Rocky Linux 8 udica 0.2.6-21.module+el8.10.0+1815+5fe7415e RLSA-2024:3968

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 buildah +1 2:1.33.7-2.0.1.el9_4 ELSA-2024-3827
Oracle Linux 9 jose +2 14-1.el9 ELSA-2024-9181
Oracle Linux 9 podman +4 4:4.9.4-4.0.1.el9_4 ELSA-2024-3826
Oracle Linux 8 aardvark-dns 2:1.10.0-1.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 buildah +1 2:1.33.7-2.module+el8.10.0+90352+16362864 ELSA-2024-3968
Oracle Linux 8 cockpit-podman 84.1-1.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 conmon 3:2.1.10-1.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 container-selinux 2:2.229.0-2.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 containernetworking-plugins 1:1.4.0-2.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 containers-common 2:1-81.0.1.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 crit +4 3.18-5.module+el8.10.0+90337+0d7b6e74 ELSA-2024-3968
Oracle Linux 8 crun 1.14.3-2.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 fuse-overlayfs 1.13-1.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 jose +2 10-2.el8_10.3 ELSA-2024-5294
Oracle Linux 8 libslirp +1 4.4.0-2.module+el8.10.0+90337+0d7b6e74 ELSA-2024-3968
Oracle Linux 8 netavark 2:1.10.3-1.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 oci-seccomp-bpf-hook 1.2.10-1.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 podman +6 4:4.9.4-3.0.1.module+el8.10.0+90352+16362864 ELSA-2024-3968
Oracle Linux 8 python3-podman 4.9.0-1.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 runc 1:1.1.12-1.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 skopeo +1 2:1.14.3-2.module+el8.10.0+90337+0d7b6e74 ELSA-2024-3968
Oracle Linux 8 slirp4netns 1.2.3-1.module+el8.10.0+90298+77a9814d ELSA-2024-3968
Oracle Linux 8 udica 0.2.6-21.module+el8.10.0+90337+0d7b6e74 ELSA-2024-3968

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling sqlpad +1 7.4.1-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm jose >= 3.0.0, < 4.15.5 4.15.5 GHSA-hhhv-q57g-882q
npm jose < 2.0.7 2.0.7 GHSA-hhhv-q57g-882q
npm jose-node-cjs-runtime < 4.15.5 4.15.5 GHSA-hhhv-q57g-882q
npm jose-node-esm-runtime < 4.15.5 4.15.5 GHSA-hhhv-q57g-882q

Advisories 23

References