cve.bz

CVE-2024-24791 go standard library net/http

7.5 highEPSS 1.4%Fix available

High (7.5) in go standard library net/http. EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.21.12, 1.22.5.

On this page
The net/http HTTP/1.1 client mishandled the case where a server responds to a request with an "Expect: 100-continue" header with a non-informational (200 or higher) status. This mishandling could leave a client connection in an invalid state, where the next request sent on the connection will fail. An attacker sending a request to a net/http/httputil.ReverseProxy proxy can exploit this mishandling to cause a denial of service by sending "Expect: 100-continue" requests which elicit a non-informational response from the backend. Each such request leaves the proxy with an invalid connection, and causes one subsequent request using that connection to fail.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-07-03. 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
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • stdlib (Go): fixed in 1.21.12, 1.22.5
  • Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita, BellSoft Hardened Containers: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2024-24791 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-24791?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-24791?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-24791 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 net/httpbefore 1.21.12
Go standard library net/httpfrom 1.22.0-0 before 1.22.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2024-2963Gostdlib<1.21.12
>=1.22.0-0 <1.22.5
1.21.12, 1.22.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.19no fix listedDEBIAN-CVE-2024-24791
Ubuntu14.04:LTSgolang-1.10no fix listedUBUNTU-CVE-2024-24791
Ubuntu16.04:LTSgolang-1.6, golang-1.10no fix listedUBUNTU-CVE-2024-24791
Ubuntu18.04:LTSgolang-1.8, golang-1.9, golang-1.10no fix listedUBUNTU-CVE-2024-24791
Ubuntu20.04:LTSgolang-1.13, golang-1.14, golang-1.20 and 1 moreno fix listedUBUNTU-CVE-2024-24791
Ubuntu20.04:LTSgolang-1.181.18.1-1ubuntu1~20.04.3UBUNTU-CVE-2024-24791 USN-7109-1
Ubuntu20.04:LTSgolang-1.221.22.2-2~20.04.2UBUNTU-CVE-2024-24791 USN-7081-1
Ubuntu22.04:LTSgolang-1.171.17.13-3ubuntu1.3UBUNTU-CVE-2024-24791 USN-7111-1
Ubuntu22.04:LTSgolang-1.181.18.1-1ubuntu1.2UBUNTU-CVE-2024-24791 USN-7109-1
Ubuntu22.04:LTSgolang-1.20, golang-1.21no fix listedUBUNTU-CVE-2024-24791
Ubuntu22.04:LTSgolang-1.221.22.2-2~22.04.2UBUNTU-CVE-2024-24791 USN-7081-1
Ubuntu24.04:LTSgolang-1.21no fix listedUBUNTU-CVE-2024-24791
Ubuntu24.04:LTSgolang-1.221.22.2-2ubuntu0.3UBUNTU-CVE-2024-24791 USN-7081-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+22283+6d6d094aRHSA-2024:6969
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.8-4.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-2.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.4.0-5.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-82.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hatenterprise_linux:8::appstreamcrit, criu, criu-libs and 5 more0:3.18-5.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:1.14.3-2.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.21.2-4.module+el8.10.0+22329+6cd5c9c6RHSA-2024:6908
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.13-1.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hatenterprise_linux:8::appstreamgo-toolset0:1.21.13-1.module+el8.10.0+22329+6cd5c9c6RHSA-2024:6908
25 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 3 morego1.211.21.12-150000.1.39.1SUSE-SU-2024:2308-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.221.22.5-150000.1.21.1SUSE-SU-2024:2309-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.12-1.39.1SUSE-SU-2024:2294-1
SUSELinux Enterprise Software Development Kit 12 SP5go1.221.22.5-1.15.1SUSE-SU-2024:2295-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.12-150000.1.39.1SUSE-SU-2024:2308-1
openSUSELeap 15.5, Leap 15.6go1.221.22.5-150000.1.21.1SUSE-SU-2024:2309-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.5-1.1openSUSE-SU-2024:14107-1
openSUSETumbleweedgo1.211.21.12-1.1openSUSE-SU-2024:14091-1
openSUSETumbleweedgo1.221.22.5-1.1openSUSE-SU-2024:14098-1
openSUSETumbleweedistioctl1.22.3-1.1openSUSE-SU-2024:14198-1
AlmaLinux8aardvark-dns2:1.10.0-1.module_el8.10.0+3792+03eaed9cALSA-2024:6969
AlmaLinux8aardvark-dns2:1.10.0-1.module_el8.10.0+3858+6ad51f9fALSA-2024:6969
AlmaLinux8aardvark-dns2:1.10.0-1.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux8buildah, buildah-tests2:1.33.8-4.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux8cockpit-podman84.1-1.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3845+87b84552ALSA-2024:6969
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3858+6ad51f9fALSA-2024:6969
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux8container-selinux2:2.229.0-2.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux8containernetworking-plugins1:1.4.0-5.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux8containers-common2:1-82.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux8crit, criu, criu-libs3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:6969
36 more for AlmaLinux in the JSON.
Rocky Linux8aardvark-dns2:1.10.0-1.module+el8.10.0+1815+5fe7415eRLSA-2024:6969
Rocky Linux8aardvark-dns2:1.10.0-1.module+el8.10.0+1825+623b0c20RLSA-2024:6969
Rocky Linux8aardvark-dns2:1.10.0-1.module+el8.10.0+1843+6892ab28RLSA-2024:6969
Rocky Linux8aardvark-dns2:1.10.0-1.module+el8.10.0+1872+2e18eb19RLSA-2024:6969
Rocky Linux8buildah2:1.33.8-4.module+el8.10.0+1843+6892ab28RLSA-2024:6969
Rocky Linux8buildah2:1.33.8-4.module+el8.10.0+1872+2e18eb19RLSA-2024:6969
Rocky Linux8buildah2:1.33.8-4.module+el8.10.0+1874+ce489889RLSA-2024:6969
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2024:6969
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1825+623b0c20RLSA-2024:6969
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1843+6892ab28RLSA-2024:6969
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1872+2e18eb19RLSA-2024:6969
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1874+ce489889RLSA-2024:6969
125 more for Rocky Linux in the JSON.
Alpinev3.20, v3.21, v3.22 and 2 morego1.22.5-r0ALPINE-CVE-2024-24791
Azure Linux3golangno fix listedAZL-78960 AZL-98754
Azure Linux3golang1.22.5-1AZL-43068
Alpaquita23go1.21.12-r0BELL-CVE-2024-24791
Alpaquitastreamgo1.22.5-r0BELL-CVE-2024-24791
BellSoft Hardened Containers23go1.21.12-r0BELL-CVE-2024-24791
BellSoft Hardened Containersstreamgo1.22.5-r0BELL-CVE-2024-24791

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

An attacker would need to control a malicious server and induce a client to connect to it, requiring some amount of preparation outside of the attacker's control. This reduces the severity score of this flaw to Moderate.

Red Hat's mitigation

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
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-db-rhel8:3.0.0-10Fixed 2024-08-19RHSA-2024:5537
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-grafana-dashboard-rhel8:3.0.0-8Fixed 2024-08-19RHSA-2024:5537
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-operator-bundle:3.0.0-8Fixed 2024-08-19RHSA-2024:5537
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8:3.0.0-9Fixed 2024-08-19RHSA-2024:5537
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-reports-rhel8:3.0.0-8Fixed 2024-08-19RHSA-2024:5537
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-rhel8:3.0.0-8Fixed 2024-08-19RHSA-2024:5537
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-rhel8-operator:3.0.0-8Fixed 2024-08-19RHSA-2024:5537
Cryostat 3 on RHEL 8cryostat-tech-preview/cryostat-storage-rhel8:3.0.0-9Fixed 2024-08-19RHSA-2024:5537
Cryostat 3 on RHEL 8cryostat-tech-preview/jfr-datasource-rhel8:3.0.0-8Fixed 2024-08-19RHSA-2024:5537
KDO-5.1-RHEL-9kube-descheduler-operator/descheduler-rhel9:v5.1-17Fixed 2024-10-23RHSA-2024:6341
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel8Will not fix
Cost Management Metrics Operatorcostmanagement-metrics-operator-containerAffected
Fence Agents Remediation Operatorworkload-availability/fence-agents-remediation-rhel8-operatorWill not fix
Logical Volume Manager Storagelvms4/topolvm-rhel8Will not fix
Machine Deletion Remediation Operatorworkload-availability/machine-deletion-remediation-rhel8-operatorWill not fix
Migration Toolkit for Applications 6mta/mta-hub-rhel9Will not fix
Migration Toolkit for Applications 7mta/mta-cli-rhel9Not affected
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-api-rhel9Fix deferred
Multicluster Engine for Kubernetesmulticluster-engine/hive-rhel8Affected
NBDE Tang Servertang-operator-containerWill not fix
556 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-24791.

References

Check your stackJSON