CVEfocus › CVE database › CVE-2024-24788

CVE-2024-24788Malformed DNS message can cause infinite loop in net

CVSS 5.9 MediumEPSS 1.3% (higher than 70% of CVEs)Published 2024-05-08Updated 2025-02-13Assigner: Go

A malformed DNS message in response to a query can cause the Lookup functions to get stuck in an infinite loop.

CWE-835

What to do

Fixed builds are available from AlmaLinux, Alpine, Go, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

139Fixed
19Fix pending
1Under investigation
4Will not fix
45Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04golang-1.21Not affected
vulnerable_code_not_present
Ubuntu 24.04golang-1.22Fixed1.22.2-2ubuntu0.1UBUNTU-CVE-2024-24788
Ubuntu 22.04golang-1.13Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 22.04golang-1.17Under investigationUBUNTU-CVE-2024-24788
Ubuntu 22.04golang-1.18Not affected
vulnerable_code_not_present
Ubuntu 22.04golang-1.20Not affected
vulnerable_code_not_present
Ubuntu 22.04golang-1.21Not affected
vulnerable_code_not_present
Ubuntu 22.04golang-1.22Fixed1.22.2-2~22.04.1UBUNTU-CVE-2024-24788
Ubuntu 20.04golang-1.13Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 20.04golang-1.14Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 20.04golang-1.16Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 20.04golang-1.18Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 20.04golang-1.20Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 20.04golang-1.21Not affected
vulnerable_code_not_present
Ubuntu 20.04golang-1.22Fixed1.22.2-2~20.04.1UBUNTU-CVE-2024-24788
Ubuntu 18.04golang-1.10Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 18.04golang-1.13Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 18.04golang-1.16Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 18.04golang-1.18Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 18.04golang-1.8Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 18.04golang-1.9Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 16.04golang-1.10Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 16.04golang-1.13Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 16.04golang-1.18Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 16.04golang-1.6Fix pendingUBUNTU-CVE-2024-24788
Ubuntu 14.04golang-1.10Fix pendingUBUNTU-CVE-2024-24788
Red Hat Enterprise Linux 10buildahNot affected
Red Hat Enterprise Linux 10buildah-testsNot affected
Red Hat Enterprise Linux 10butaneNot affected
Red Hat Enterprise Linux 10conmonNot affected
Red Hat Enterprise Linux 10delveNot affected
Red Hat Enterprise Linux 10go-toolsetNot affected
Red Hat Enterprise Linux 10golangNot affected
Red Hat Enterprise Linux 10golang-binNot affected
Red Hat Enterprise Linux 10golang-docsNot affected
Red Hat Enterprise Linux 10golang-github-openprinting-ipp-usbNot affected
Red Hat Enterprise Linux 10golang-miscNot affected
Red Hat Enterprise Linux 10golang-raceNot affected
Red Hat Enterprise Linux 10golang-srcNot affected
Red Hat Enterprise Linux 10golang-testsNot affected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-pcpNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 10gvisor-tap-vsockNot affected
Red Hat Enterprise Linux 10gvisor-tap-vsock-gvforwarderNot affected
Red Hat Enterprise Linux 10ipp-usbNot affected
Red Hat Enterprise Linux 10oci-seccomp-bpf-hookNot affected
Red Hat Enterprise Linux 10podmanNot affected
Red Hat Enterprise Linux 10podman-dockerNot affected
Red Hat Enterprise Linux 10podman-remoteNot affected
Red Hat Enterprise Linux 10podman-testsNot affected
Red Hat Enterprise Linux 10skopeoFix pending
Affected
Red Hat Enterprise Linux 10skopeo-testsFix pending
Affected
Red Hat Enterprise Linux 10toolboxNot affected
Red Hat Enterprise Linux 10toolbox-testsNot affected
Red Hat Enterprise Linux 10weldr-clientNot affected
Red Hat Enterprise Linux 9butaneWill not fix
Will not fix
Red Hat Enterprise Linux 9conmonNot affected
Red Hat Enterprise Linux 9containernetworking-pluginsFixed1:1.5.1-2.el9RHSA-2024:9089
Red Hat Enterprise Linux 9git-lfsFixed0:3.6.1-1.el9RHSA-2025:7256
Red Hat Enterprise Linux 9go-toolsetFixed0:1.21.10-1.el9_4RHBA-2024:3840
Red Hat Enterprise Linux 9golangFixed0:1.21.10-1.el9_4RHBA-2024:3840
Red Hat Enterprise Linux 9golang-binFixed0:1.21.10-1.el9_4RHBA-2024:3840
Red Hat Enterprise Linux 9golang-docsFixed0:1.21.10-1.el9_4RHBA-2024:3840
Red Hat Enterprise Linux 9golang-miscFixed0:1.21.10-1.el9_4RHBA-2024:3840
Red Hat Enterprise Linux 9golang-srcFixed0:1.21.10-1.el9_4RHBA-2024:3840
Red Hat Enterprise Linux 9golang-testsFixed0:1.21.10-1.el9_4RHBA-2024:3840
Red Hat Enterprise Linux 9grafanaFixed0:10.2.6-4.el9RHSA-2024:9115
Red Hat Enterprise Linux 9grafana-pcpNot affected
Red Hat Enterprise Linux 9grafana-selinuxFixed0:10.2.6-4.el9RHSA-2024:9115
Red Hat Enterprise Linux 9oci-seccomp-bpf-hookFixed0:1.2.10-2.el9RHSA-2024:9277
Red Hat Enterprise Linux 9runcFixed4:1.1.13-4.el9RHSA-2024:9200
Red Hat Enterprise Linux 9skopeoFixed2:1.16.1-1.el9RHSA-2024:9098
Red Hat Enterprise Linux 9skopeo-testsFixed2:1.16.1-1.el9RHSA-2024:9098
Red Hat Enterprise Linux 9toolboxFixed0:0.0.99.5-5.el9RHSA-2024:9135
Red Hat Enterprise Linux 9toolbox-testsFixed0:0.0.99.5-5.el9RHSA-2024:9135
Red Hat Enterprise Linux 9weldr-clientWill not fix
Will not fix
Red Hat Enterprise Linux 8aardvark-dnsFixed2:1.10.0-1.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8buildahFixed2:1.33.8-4.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8buildah-testsFixed2:1.33.8-4.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8cockpit-podmanFixed0:84.1-1.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8conmonFixed3:2.1.10-1.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8containernetworking-pluginsFixed1:1.4.0-5.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8containers-commonFixed2:1-82.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8critFixed0:3.18-5.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8criuFixed0:3.18-5.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8criu-develFixed0:3.18-5.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8criu-libsFixed0:3.18-5.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8crunFixed0:1.14.3-2.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8delveNot affected
Red Hat Enterprise Linux 8fuse-overlayfsFixed0:1.13-1.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8git-lfsWill not fix
Will not fix
Red Hat Enterprise Linux 8go-toolsetNot affected
Red Hat Enterprise Linux 8golangNot affected
Red Hat Enterprise Linux 8golang-binNot affected
Red Hat Enterprise Linux 8golang-docsNot affected
Red Hat Enterprise Linux 8golang-miscNot affected
Red Hat Enterprise Linux 8golang-raceNot affected
Red Hat Enterprise Linux 8golang-srcNot affected
Red Hat Enterprise Linux 8golang-testsNot affected
Red Hat Enterprise Linux 8grafanaFixed0:9.2.10-17.el8_10RHSA-2024:5291
Red Hat Enterprise Linux 8grafana-pcpNot affected
Red Hat Enterprise Linux 8grafana-selinuxFixed0:9.2.10-17.el8_10RHSA-2024:5291
Red Hat Enterprise Linux 8libslirpFixed0:4.4.0-2.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8libslirp-develFixed0:4.4.0-2.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8netavarkFixed2:1.10.3-1.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookFixed0:1.2.10-1.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8podmanFixed4:4.9.4-13.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8podman-catatonitFixed4:4.9.4-13.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8podman-dockerFixed4:4.9.4-13.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8podman-gvproxyFixed4:4.9.4-13.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8podman-pluginsFixed4:4.9.4-13.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8podman-remoteFixed4:4.9.4-13.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8podman-testsFixed4:4.9.4-13.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8python-podmanFixed0:4.9.0-2.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8python3-criuFixed0:3.18-5.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8python3-podmanFixed0:4.9.0-2.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8runcFixed1:1.1.12-4.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8skopeoFixed2:1.14.5-3.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8skopeo-testsFixed2:1.14.5-3.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8slirp4netnsFixed0:1.2.3-1.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8toolboxFixed
Will not fix
0:0.0.99.5-2.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8toolbox-testsFixed
Will not fix
0:0.0.99.5-2.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8udicaFixed0:0.2.6-21.module+el8.10.0+22283+6d6d094aRHSA-2024:6969
Red Hat Enterprise Linux 8weldr-clientWill not fix
Will not fix
AlmaLinux 9containernetworking-pluginsFixed1:1.5.1-2.el9ALSA-2024:9089
AlmaLinux 9git-lfsFixed3.6.1-1.el9ALSA-2025:7256
AlmaLinux 9grafanaFixed10.2.6-4.el9ALSA-2024:9115
AlmaLinux 9grafana-selinuxFixed10.2.6-4.el9ALSA-2024:9115
AlmaLinux 9oci-seccomp-bpf-hookFixed1.2.10-2.el9ALSA-2024:9277
AlmaLinux 9runcFixed4:1.1.13-4.el9ALSA-2024:9200
AlmaLinux 9skopeoFixed2:1.16.1-1.el9ALSA-2024:9098
AlmaLinux 9skopeo-testsFixed2:1.16.1-1.el9ALSA-2024:9098
AlmaLinux 9toolboxFixed0.0.99.5-5.el9ALSA-2024:9135
AlmaLinux 9toolbox-testsFixed0.0.99.5-5.el9ALSA-2024:9135
AlmaLinux 8aardvark-dnsFixed2:1.10.0-1.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8buildahFixed2:1.33.8-4.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8buildah-testsFixed2:1.33.8-4.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8cockpit-podmanFixed84.1-1.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8conmonFixed3:2.1.10-1.module_el8.10.0+3858+6ad51f9fALSA-2024:6969
AlmaLinux 8container-selinuxFixed2:2.229.0-2.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8containernetworking-pluginsFixed1:1.4.0-5.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8containers-commonFixed2:1-82.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8critFixed3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:6969
AlmaLinux 8criuFixed3.18-5.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8criu-develFixed3.18-5.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8criu-libsFixed3.18-5.module_el8.10.0+3845+87b84552ALSA-2024:6969
AlmaLinux 8crunFixed1.14.3-2.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8fuse-overlayfsFixed1.13-1.module_el8.10.0+3792+03eaed9cALSA-2024:6969
AlmaLinux 8grafanaFixed9.2.10-17.el8_10ALSA-2024:5291
AlmaLinux 8grafana-selinuxFixed9.2.10-17.el8_10ALSA-2024:5291
AlmaLinux 8libslirpFixed4.4.0-2.module_el8.10.0+3858+6ad51f9fALSA-2024:6969
AlmaLinux 8libslirp-develFixed4.4.0-2.module_el8.10.0+3858+6ad51f9fALSA-2024:6969
AlmaLinux 8netavarkFixed2:1.10.3-1.module_el8.10.0+3845+87b84552ALSA-2024:6969
AlmaLinux 8oci-seccomp-bpf-hookFixed1.2.10-1.module_el8.10.0+3792+03eaed9cALSA-2024:6969
AlmaLinux 8podmanFixed4:4.9.4-13.module_el8.10.0+3898+7a25cb1aALSA-2024:6969
AlmaLinux 8podman-catatonitFixed4:4.9.4-13.module_el8.10.0+3898+7a25cb1aALSA-2024:6969
AlmaLinux 8podman-dockerFixed4:4.9.4-13.module_el8.10.0+3898+7a25cb1aALSA-2024:6969
AlmaLinux 8podman-gvproxyFixed4:4.9.4-13.module_el8.10.0+3898+7a25cb1aALSA-2024:6969
AlmaLinux 8podman-pluginsFixed4:4.9.4-13.module_el8.10.0+3898+7a25cb1aALSA-2024:6969
AlmaLinux 8podman-remoteFixed4:4.9.4-13.module_el8.10.0+3898+7a25cb1aALSA-2024:6969
AlmaLinux 8podman-testsFixed4:4.9.4-13.module_el8.10.0+3898+7a25cb1aALSA-2024:6969
AlmaLinux 8python3-criuFixed3.18-5.module_el8.10.0+3858+6ad51f9fALSA-2024:6969
AlmaLinux 8python3-podmanFixed4.9.0-2.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8runcFixed1:1.1.12-4.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8skopeoFixed2:1.14.5-3.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8skopeo-testsFixed2:1.14.5-3.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8slirp4netnsFixed1.2.3-1.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8toolboxFixed0.0.99.5-2.module_el8.10.0+3876+e55593a8ALSA-2024:6969
AlmaLinux 8toolbox-testsFixed0.0.99.5-2.module_el8.10.0+3845+87b84552ALSA-2024:6969
AlmaLinux 8udicaFixed0.2.6-21.module_el8.10.0+3876+e55593a8ALSA-2024:6969
Rocky Linux 9git-lfsFixed0:3.6.1-1.el9RLSA-2025:7256
Rocky Linux 9oci-seccomp-bpf-hookFixed0:1.2.10-2.el9RLSA-2024:9277
Rocky Linux 9runcFixed4:1.1.13-4.el9RLSA-2024:9200
Rocky Linux 9toolboxFixed0:0.0.99.5-5.el9.rocky.0.2RLSA-2024:9135
Rocky Linux 8aardvark-dnsFixed2:1.10.0-1.module+el8.10.0+1872+2e18eb19RLSA-2024:6969
Rocky Linux 8buildahFixed2:1.33.8-4.module+el8.10.0+1872+2e18eb19RLSA-2024:6969
Rocky Linux 8cockpit-podmanFixed0:84.1-1.module+el8.10.0+1825+623b0c20RLSA-2024:6969
Rocky Linux 8conmonFixed3:2.1.10-1.module+el8.10.0+1880+8e896d1bRLSA-2024:6969
Rocky Linux 8container-selinuxFixed2:2.229.0-2.module+el8.10.0+1896+b18fa106RLSA-2024:6969
Rocky Linux 8containernetworking-pluginsFixed1:1.4.0-5.module+el8.10.0+1948+4b5cd4a9RLSA-2024:6969
Rocky Linux 8containers-commonFixed2:1-82.module+el8.10.0+1948+4b5cd4a9RLSA-2024:6969
Rocky Linux 8criuFixed0:3.18-5.module+el8.10.0+1948+4b5cd4a9RLSA-2024:6969
Rocky Linux 8crunFixed0:1.14.3-2.module+el8.10.0+1896+b18fa106RLSA-2024:6969
Rocky Linux 8fuse-overlayfsFixed0:1.13-1.module+el8.10.0+1880+8e896d1bRLSA-2024:6969
Rocky Linux 8grafanaFixed0:9.2.10-17.el8_10RLSA-2024:5291
Rocky Linux 8libslirpFixed0:4.4.0-2.module+el8.10.0+1896+b18fa106RLSA-2024:6969
Rocky Linux 8netavarkFixed2:1.10.3-1.module+el8.10.0+1815+5fe7415eRLSA-2024:6969
Rocky Linux 8oci-seccomp-bpf-hookFixed0:1.2.10-1.module+el8.10.0+1825+623b0c20RLSA-2024:6969
Rocky Linux 8podmanFixed4:4.9.4-13.module+el8.10.0+1874+ce489889RLSA-2024:6969
Rocky Linux 8python-podmanFixed0:4.9.0-2.module+el8.10.0+1880+8e896d1bRLSA-2024:6969
Rocky Linux 8runcFixed1:1.1.12-4.module+el8.10.0+1872+2e18eb19RLSA-2024:6969
Rocky Linux 8skopeoFixed2:1.14.5-3.module+el8.10.0+1948+4b5cd4a9RLSA-2024:6969
Rocky Linux 8slirp4netnsFixed0:1.2.3-1.module+el8.10.0+1815+5fe7415eRLSA-2024:6969
Rocky Linux 8toolboxFixed0:0.0.99.5-2.module+el8.10.0+1825+623b0c20.rocky.0.2RLSA-2024:6969
Rocky Linux 8udicaFixed0:0.2.6-21.module+el8.10.0+1948+4b5cd4a9RLSA-2024:6969
Alpine Linux 3.24forgejoFixed7.0.3-r0ALPINE-CVE-2024-24788
Alpine Linux 3.24goFixed1.22.3-r0ALPINE-CVE-2024-24788
Alpine Linux 3.23forgejoFixed7.0.3-r0ALPINE-CVE-2024-24788
Alpine Linux 3.23goFixed1.22.3-r0ALPINE-CVE-2024-24788
Alpine Linux 3.22forgejoFixed7.0.3-r0ALPINE-CVE-2024-24788
Alpine Linux 3.22goFixed1.22.3-r0ALPINE-CVE-2024-24788
Alpine Linux 3.21forgejoFixed7.0.3-r0ALPINE-CVE-2024-24788
Alpine Linux 3.21goFixed1.22.3-r0ALPINE-CVE-2024-24788
Alpine Linux 3.20goFixed1.22.3-r0ALPINE-CVE-2024-24788
Alpine Linux 3.19goFixed1.21.10-r0ALPINE-CVE-2024-24788
Go librarystdlibFixed1.22.3GO-2024-2824

What the vendor says

As published in the CVE record by Go, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.