Vulnerability · Published Mar 9, 2024 · Assigned by GitHub_M

CVE-2024-28180Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)

Medium 4.3

In plain English

A medium-severity security flaw in go-jose from go-jose. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

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

Official description

Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). This vulnerability has been patched in versions 4.0.1, 3.0.3 and 2.6.3.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8aardvark-dns2:1.10.0-1.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8aardvark-dns2:1.10.0-1.module_el8.10.0+3792+03eaed9cALSA-2024:3254
AlmaLinux:8aardvark-dns2:1.10.0-1.module_el8.10.0+3792+03eaed9cALSA-2024:3968
AlmaLinux:8buildah2:1.33.7-1.module_el8.10.0+3845+87b84552ALSA-2024:3254
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-1.module_el8.10.0+3845+87b84552ALSA-2024:3254
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+3792+03eaed9cALSA-2024:3254
AlmaLinux:8cockpit-podman84.1-1.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3845+87b84552ALSA-2024:3254
AlmaLinux:8conmon3:2.1.10-1.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8container-selinux2:2.229.0-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8container-selinux2:2.229.0-2.module_el8.10.0+3792+03eaed9cALSA-2024:3254
AlmaLinux:8containernetworking-plugins1:1.4.0-2.module_el8.10.0+3792+03eaed9cALSA-2024:3254
AlmaLinux:8containernetworking-plugins1:1.4.0-2.module_el8.10.0+3792+03eaed9cALSA-2024:3968
AlmaLinux:8containernetworking-plugins1:1.4.0-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8containers-common2:1-81.module_el8.10.0+3792+03eaed9cALSA-2024:3254
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+3845+87b84552ALSA-2024:3254
AlmaLinux:8crit3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8criu3.18-5.module_el8.10.0+3845+87b84552ALSA-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:3254
AlmaLinux:8criu-devel3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8criu-devel3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:3254
AlmaLinux:8criu-libs3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8criu-libs3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:3254
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:8crun1.14.3-2.module_el8.10.0+3845+87b84552ALSA-2024:3254
AlmaLinux:8fuse-overlayfs1.13-1.module_el8.10.0+3792+03eaed9cALSA-2024:3254
AlmaLinux:8fuse-overlayfs1.13-1.module_el8.10.0+3792+03eaed9cALSA-2024:3968
AlmaLinux:8libslirp4.4.0-2.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8libslirp4.4.0-2.module_el8.10.0+3845+87b84552ALSA-2024:3254
AlmaLinux:8libslirp4.4.0-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8libslirp-devel4.4.0-2.module_el8.10.0+3845+87b84552ALSA-2024:3254
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+3845+87b84552ALSA-2024:3254
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:8oci-seccomp-bpf-hook1.2.10-1.module_el8.10.0+3792+03eaed9cALSA-2024:3254
AlmaLinux:8podman4:4.9.4-1.module_el8.10.0+3845+87b84552ALSA-2024:3254
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-catatonit4:4.9.4-1.module_el8.10.0+3845+87b84552ALSA-2024:3254
AlmaLinux:8podman-docker4:4.9.4-3.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8podman-docker4:4.9.4-1.module_el8.10.0+3845+87b84552ALSA-2024:3254
AlmaLinux:9podman-docker4:4.9.4-4.el9_4ALSA-2024:3826
AlmaLinux:8podman-gvproxy4:4.9.4-1.module_el8.10.0+3845+87b84552ALSA-2024:3254
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:8podman-plugins4:4.9.4-1.module_el8.10.0+3845+87b84552ALSA-2024:3254
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:8podman-remote4:4.9.4-1.module_el8.10.0+3845+87b84552ALSA-2024:3254
AlmaLinux:9podman-remote4:4.9.4-4.el9_4ALSA-2024:3826
AlmaLinux:8podman-tests4:4.9.4-1.module_el8.10.0+3845+87b84552ALSA-2024:3254
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+3845+87b84552ALSA-2024:3968
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:3254
AlmaLinux:8python3-podman4.9.0-1.module_el8.10.0+3792+03eaed9cALSA-2024:3254
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:8runc1:1.1.12-1.module_el8.10.0+3845+87b84552ALSA-2024:3254
AlmaLinux:8skopeo2:1.14.3-2.module_el8.10.0+3845+87b84552ALSA-2024:3254
AlmaLinux:8skopeo2:1.14.3-2.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8skopeo2:1.14.3-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:9skopeo2:1.14.3-2.el9_4ALSA-2024:2549
AlmaLinux:8skopeo-tests2:1.14.3-2.module_el8.10.0+3845+87b84552ALSA-2024:3254
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:9skopeo-tests2:1.14.3-2.el9_4ALSA-2024:2549
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:3254
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:8toolbox0.0.99.5-2.module_el8.10.0+3845+87b84552ALSA-2024:3254
AlmaLinux:8toolbox-tests0.0.99.5-2.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8toolbox-tests0.0.99.5-2.module_el8.10.0+3845+87b84552ALSA-2024:3254
AlmaLinux:8toolbox-tests0.0.99.5-2.module_el8.10.0+3845+87b84552ALSA-2024:3968
AlmaLinux:8udica0.2.6-21.module_el8.10.0+3858+6ad51f9fALSA-2024:3968
AlmaLinux:8udica0.2.6-21.module_el8.10.0+3845+87b84552ALSA-2024:3254
Alpine:v3.20buildah1.35.4-r0ALPINE-CVE-2024-28180
Alpine:v3.21buildah1.35.4-r0ALPINE-CVE-2024-28180
Alpine:v3.22buildah1.35.4-r0ALPINE-CVE-2024-28180
Alpine:v3.23buildah1.35.4-r0ALPINE-CVE-2024-28180
Alpine:v3.24buildah1.35.4-r0ALPINE-CVE-2024-28180
Debian:13golang-github-go-jose-go-jose4.0.1-1DEBIAN-CVE-2024-28180
Debian:14golang-github-go-jose-go-jose4.0.1-1DEBIAN-CVE-2024-28180
Debian:12golang-gopkg-square-go-jose.v2no fix listedDEBIAN-CVE-2024-28180
Debian:13golang-gopkg-square-go-jose.v22.6.3-1DEBIAN-CVE-2024-28180
Debian:14golang-gopkg-square-go-jose.v22.6.3-1DEBIAN-CVE-2024-28180
Gogithub.com/go-jose/go-jose/v33.0.3GO-2024-2631
Gogithub.com/go-jose/go-jose/v33.0.3GHSA-c5q2-7r4c-mv6g
Gogithub.com/go-jose/go-jose/v44.0.1GHSA-c5q2-7r4c-mv6g
Gogithub.com/go-jose/go-jose/v44.0.1GO-2024-2631
Gogopkg.in/go-jose/go-jose.v22.6.3GHSA-c5q2-7r4c-mv6g
Gogopkg.in/go-jose/go-jose.v22.6.3GO-2024-2631
Gogopkg.in/square/go-jose.v2no fix listedGO-2024-2631
Gogopkg.in/square/go-jose.v2no fix listedGHSA-c5q2-7r4c-mv6g
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: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:9skopeo2:1.14.3-2.el9_4RLSA-2024:2549
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

Affected products (as reported)

VendorProductVersions
go-jose go-jose < 4.0.1< 3.0.3< 2.6.3

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

References