Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2024-24788
Go vulnerability analysis and mitigation

Overview

A vulnerability was discovered in the net package of the Go standard library, identified as CVE-2024-24788. The issue affects Go versions 1.22.0-0 prior to 1.22.3, where a malformed DNS message received in response to a query can cause the Lookup functions to get stuck in an infinite loop. The vulnerability was reported by GitHub user @long-name-let-people-remember-you and brought to attention by Mateusz Poliwczak (Golang Announce).

Technical details

The vulnerability exists in the net package's DNS message handling functionality. When processing DNS responses, the affected Lookup functions can enter an infinite loop when encountering specifically malformed DNS messages. This affects multiple functions including LookupAddr, LookupCNAME, LookupHost, LookupIP, LookupMX, LookupNS, LookupSRV, and LookupTXT, among others. The issue has been assigned a CVSS v3.1 score of 7.5 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NetApp Security).

Impact

The successful exploitation of this vulnerability could lead to a Denial of Service (DoS) condition. When triggered, the affected functions become stuck in an infinite loop, potentially causing high CPU usage and making the service unresponsive (NetApp Security).

Exploitability

The vulnerability is network-exploitable and requires no authentication or user interaction to exploit. The issue was introduced in Go version 1.22.0-0 and has been publicly disclosed. The vulnerability can be triggered by sending malformed DNS messages in response to queries made by the affected functions (Go Packages).

Mitigation and workarounds

The vulnerability has been fixed in Go versions 1.22.3 and 1.21.10. Users are advised to upgrade to these versions or later to address the issue. The fix was implemented through a patch that corrects the DNS message handling logic (Golang Announce).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

golang-1.19

Fixed

bullseye

golang-1.15

Fixed

SourceThis report was generated using AI

Related Go vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-56865HIGH8.4
  • Go logoGo
  • volume-modifier-for-k8s-fips
NoYesAug 13, 2026
CVE-2026-56864HIGH7.5
  • Go logoGo
  • http-echo
NoYesAug 13, 2026
CVE-2026-56862HIGH7.5
  • Go logoGo
  • kube-state-metrics-2.6
NoYesAug 13, 2026
CVE-2026-56859HIGH7.5
  • Go logoGo
  • fluxcd-helm-controller-fips
NoYesAug 13, 2026
CVE-2026-56860MEDIUM5.9
  • Go logoGo
  • vcluster-fips
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management