cve.bz

CVE-2024-24789 golang go

5.5 mediumEPSS 0.4%Fix available

Medium (5.5) in golang go. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.21.11, 1.22.4.

On this page
The archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment could be exploited to create an zip file with contents that vary depending on the implementation reading the file. The archive/zip package now rejects files containing these errors.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-06-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-24789 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-24789?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-24789?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-24789 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library archive/zipbefore 1.21.11
Go standard library archive/zipfrom 1.22.0-0 before 1.22.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2024-2888Gostdlib<1.21.11
>=1.22.0-0 <1.22.4
1.21.11, 1.22.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2024-24789
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2024-24789
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.20no fix listedUBUNTU-CVE-2024-24789
Ubuntu20.04:LTSgolang-1.181.18.1-1ubuntu1~20.04.3UBUNTU-CVE-2024-24789 USN-7109-1
Ubuntu20.04:LTSgolang-1.211.21.1-1~ubuntu20.04.3UBUNTU-CVE-2024-24789 USN-6886-1
Ubuntu20.04:LTSgolang-1.221.22.2-2~20.04.1UBUNTU-CVE-2024-24789
Ubuntu22.04:LTSgolang-1.171.17.13-3ubuntu1.3UBUNTU-CVE-2024-24789 USN-7111-1
Ubuntu22.04:LTSgolang-1.181.18.1-1ubuntu1.2UBUNTU-CVE-2024-24789 USN-7109-1
Ubuntu22.04:LTSgolang-1.20no fix listedUBUNTU-CVE-2024-24789
Ubuntu22.04:LTSgolang-1.211.21.1-1~ubuntu22.04.3UBUNTU-CVE-2024-24789 USN-6886-1
Ubuntu22.04:LTSgolang-1.221.22.2-2~22.04.1UBUNTU-CVE-2024-24789 USN-6886-1
Ubuntu24.04:LTSgolang-1.211.21.9-1ubuntu0.1UBUNTU-CVE-2024-24789 USN-6886-1
Ubuntu24.04:LTSgolang-1.221.22.2-2ubuntu0.1UBUNTU-CVE-2024-24789 USN-6886-1
5 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.0-1.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.8-4.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-2.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.4.0-5.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-82.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcrit, criu, criu-libs and 5 more0:3.18-5.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:1.14.3-2.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.21.2-3.module+el8.10.0+21244+5b2d9000RHSA-2024:4237
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.13-1.module+el8.10.0+22202+761b9a65RHSA-2024:5258
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 4 more0:1.21.11-1.module+el8.10.0+21986+2112108aRHSA-2024:4237
24 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 10 morecontainer-suseconnect2.5.0-150000.4.55.1SUSE-SU-2024:3360-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Development Tools 15 SP5 and 2 morego1.21-openssl1.21.13.1-150000.1.11.1SUSE-SU-2024:3089-1
SUSELinux Enterprise Module for Development Tools 15 SP5go1.22-openssl1.22.7.1-150000.1.3.1SUSE-SU-2024:3772-1
SUSELinux Enterprise Module for Development Tools 15 SP5, Linux Enterprise Module for Development Tools 15 SP6go1.211.21.11-150000.1.36.1SUSE-SU-2024:1969-1
SUSELinux Enterprise Module for Development Tools 15 SP5, Linux Enterprise Module for Development Tools 15 SP6go1.221.22.4-150000.1.18.1SUSE-SU-2024:1970-1
SUSELinux Enterprise Module for Development Tools 15 SP6go1.21-openssl1.21.13.1-150600.16.3.1SUSE-SU-2024:3755-1
SUSELinux Enterprise Module for Development Tools 15 SP6go1.22-openssl1.22.7.1-150600.13.3.1SUSE-SU-2024:3938-1
SUSELinux Enterprise Software Development Kit 12 SP5go1.211.21.11-1.36.1SUSE-SU-2024:1936-1
SUSELinux Enterprise Software Development Kit 12 SP5go1.221.22.4-1.12.1SUSE-SU-2024:1935-1
openSUSELeap 15.5go1.21-openssl1.21.13.1-150000.1.11.1SUSE-SU-2024:3089-1
openSUSELeap 15.5go1.22-openssl1.22.7.1-150000.1.3.1SUSE-SU-2024:3772-1
openSUSELeap 15.5, Leap 15.6go1.211.21.11-150000.1.36.1SUSE-SU-2024:1969-1
openSUSELeap 15.5, Leap 15.6go1.221.22.4-150000.1.18.1SUSE-SU-2024:1970-1
openSUSELeap 15.6go1.21-openssl1.21.13.1-150600.16.3.1SUSE-SU-2024:3755-1
openSUSELeap 15.6go1.22-openssl1.22.7.1-150600.13.3.1SUSE-SU-2024:3938-1
openSUSETumbleweedforgejo7.0.4-1.1openSUSE-SU-2024:14050-1
openSUSETumbleweedgo1.211.21.11-1.1openSUSE-SU-2024:14023-1
openSUSETumbleweedgo1.221.22.4-1.1openSUSE-SU-2024:14020-1
AlmaLinux8aardvark-dns2:1.10.0-1.module_el8.10.0+3792+03eaed9cALSA-2024:5258
AlmaLinux8aardvark-dns2:1.10.0-1.module_el8.10.0+3858+6ad51f9fALSA-2024:5258
AlmaLinux8aardvark-dns2:1.10.0-1.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8buildah, buildah-tests2:1.33.8-4.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8cockpit-podman84.1-1.module_el8.10.0+3858+6ad51f9fALSA-2024:5258
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3845+87b84552ALSA-2024:5258
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3858+6ad51f9fALSA-2024:5258
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8container-selinux2:2.229.0-2.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8containernetworking-plugins1:1.4.0-5.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8containers-common2:1-82.module_el8.10.0+3876+e55593a8ALSA-2024:5258
AlmaLinux8crit, criu, criu-libs3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:5258
28 more for AlmaLinux in the JSON.
Rocky Linux8aardvark-dns2:1.10.0-1.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8buildah2:1.33.8-4.module+el8.10.0+1843+6892ab28RLSA-2024:5258
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8conmon3:2.1.10-1.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8container-selinux2:2.229.0-2.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8containernetworking-plugins1:1.4.0-5.module+el8.10.0+1843+6892ab28RLSA-2024:5258
Rocky Linux8containers-common2:1-82.module+el8.10.0+1843+6892ab28RLSA-2024:5258
Rocky Linux8criu0:3.18-5.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8crun0:1.14.3-2.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8delve0:1.21.2-3.module+el8.10.0+1814+f68f8a63RLSA-2024:4237
Rocky Linux8fuse-overlayfs0:1.13-1.module+el8.10.0+1815+5fe7415eRLSA-2024:5258
Rocky Linux8golang, go-toolset0:1.21.11-1.module+el8.10.0+1831+fc70fba6RLSA-2024:4237
13 more for Rocky Linux in the JSON.
Alpinev3.20, v3.21, v3.22 and 2 morego1.22.4-r0ALPINE-CVE-2024-24789
Alpinev3.21, v3.22, v3.23 and 1 moreforgejo7.0.4-r0ALPINE-CVE-2024-24789
Azure Linux2golang1.18.8-8AZL-42412
Azure Linux2golang1.21.11-1AZL-42389
Azure Linux2msft-golang1.22.4-1AZL-42415
Azure Linux3golangno fix listedAZL-79044 AZL-98643
Azure Linux3golang1.22.3-1AZL-52663
Alpaquita23go1.21.12-r0BELL-CVE-2024-24789
Alpaquitastreamgo1.22.4-r1BELL-CVE-2024-24789
BellSoft Hardened Containers23go1.21.12-r0BELL-CVE-2024-24789
BellSoft Hardened Containersstreamgo1.22.4-r1BELL-CVE-2024-24789

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate impact: this issue affects Red Hat products and Community Projects that ship components using Go's archive/zip library, with affected records across Community Projects, Red Hat OpenShift AI, Core, Hybrid Cloud, and Portfolio products. A local attacker with low privileges can cause software using the library to process a maliciously crafted ZIP with a corrupted central-directory record; the library may skip the invalid record and process a later valid one, so different ZIP implementations can expose or process different contents, including hidden information or files. Red Hat's CVSS is 5.5 (Moderate), matching NIST's score; CISA also rates it Moderate at 5.3. Some current product records are marked not affected because their assessed components are outside the affected component scope; the record does not provide a more specific technical rationale for those exclusions.

Red Hat's mitigation

For affected products, apply vendor-provided updates when available. Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-cli-rhel9:v1.6.0-70Fixed 2024-08-07RHSA-2024:4785
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-console-plugin-rhel9:v1.6.0-70Fixed 2024-08-07RHSA-2024:4785
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-ebpf-agent-rhel9:v1.6.0-70Fixed 2024-08-07RHSA-2024:4785
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-flowlogs-pipeline-rhel9:v1.6.0-70Fixed 2024-08-07RHSA-2024:4785
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-operator-bundle:1.6.0-88Fixed 2024-08-07RHSA-2024:4785
NETWORK-OBSERVABILITY-1.6.0-RHEL-9network-observability/network-observability-rhel9-operator:v1.6.0-70Fixed 2024-08-07RHSA-2024:4785
OADP-1.3-RHEL-9oadp/oadp-mustgather-rhel9:1.3.3-20Fixed 2024-08-01RHSA-2024:4982
OADP-1.3-RHEL-9oadp/oadp-rhel9-operator:1.3.3-12Fixed 2024-08-01RHSA-2024:4982
OADP-1.3-RHEL-9oadp/oadp-velero-restic-restore-helper-rhel9:1.3.3-8Fixed 2024-08-01RHSA-2024:4982
OADP-1.3-RHEL-9oadp/oadp-velero-rhel9:1.3.3-8Fixed 2024-08-01RHSA-2024:4982
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-acmesolver-rhel9Not affected
cert-manager Operator for Red Hat OpenShiftcert-manager/jetstack-cert-manager-rhel9Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel8Will not fix
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel8Will not fix
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler-tech-preview/custom-metrics-autoscaler-rhel8-operatorWill not fix
Migration Toolkit for Applications 7mta/mta-analyzer-lsp-rhel9Will not fix
Multicluster Engine for Kubernetesmulticluster-engine/agent-service-rhel8Not affected
Multicluster Engine for Kubernetesmulticluster-engine/cluster-api-provider-azure-rhel8Not affected
Multicluster Engine for Kubernetesmulticluster-engine/hive-rhel8Not affected
Multicluster Engine for Kubernetesmulticluster-engine/hypershift-cli-rhel9Not affected
355 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-24789.

References

Check your stackJSON