CVE-2024-24788 (GCVE-0-2024-24788)

Vulnerability from cvelistv5 – Published: 2024-05-08 15:31 – Updated: 2025-02-13 17:40
VLAI
Title
Malformed DNS message can cause infinite loop in net
Summary
A malformed DNS message in response to a query can cause the Lookup functions to get stuck in an infinite loop.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-06-12 19:38 UTC
CWE
  • CWE 400: Uncontrolled Resource Consumption
  • CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
Assigner
Go CNA under the Google root
CNA scorecard E 42/100 over 75 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Go standard library net Affected: 1.22.0-0 , < 1.22.3 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "HIGH",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 5.9,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2024-24788",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-12T19:38:26.198197Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-835",
                "description": "CWE-835 Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027)",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-11-21T15:42:56.985Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-01T23:28:12.532Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://go.dev/issue/66754"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://go.dev/cl/578375"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://groups.google.com/g/golang-announce/c/wkkO4P9stm0"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://pkg.go.dev/vuln/GO-2024-2824"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2024/05/08/3"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://security.netapp.com/advisory/ntap-20240605-0002/"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://security.netapp.com/advisory/ntap-20240614-0001/"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "net",
          "product": "net",
          "programRoutines": [
            {
              "name": "extractExtendedRCode"
            },
            {
              "name": "Dial"
            },
            {
              "name": "DialTimeout"
            },
            {
              "name": "Dialer.Dial"
            },
            {
              "name": "Dialer.DialContext"
            },
            {
              "name": "Listen"
            },
            {
              "name": "ListenConfig.Listen"
            },
            {
              "name": "ListenConfig.ListenPacket"
            },
            {
              "name": "ListenPacket"
            },
            {
              "name": "LookupAddr"
            },
            {
              "name": "LookupCNAME"
            },
            {
              "name": "LookupHost"
            },
            {
              "name": "LookupIP"
            },
            {
              "name": "LookupMX"
            },
            {
              "name": "LookupNS"
            },
            {
              "name": "LookupSRV"
            },
            {
              "name": "LookupTXT"
            },
            {
              "name": "ResolveIPAddr"
            },
            {
              "name": "ResolveTCPAddr"
            },
            {
              "name": "ResolveUDPAddr"
            },
            {
              "name": "Resolver.LookupAddr"
            },
            {
              "name": "Resolver.LookupCNAME"
            },
            {
              "name": "Resolver.LookupHost"
            },
            {
              "name": "Resolver.LookupIP"
            },
            {
              "name": "Resolver.LookupIPAddr"
            },
            {
              "name": "Resolver.LookupMX"
            },
            {
              "name": "Resolver.LookupNS"
            },
            {
              "name": "Resolver.LookupNetIP"
            },
            {
              "name": "Resolver.LookupSRV"
            },
            {
              "name": "Resolver.LookupTXT"
            }
          ],
          "vendor": "Go standard library",
          "versions": [
            {
              "lessThan": "1.22.3",
              "status": "affected",
              "version": "1.22.0-0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "@long-name-let-people-remember-you"
        },
        {
          "lang": "en",
          "value": "Mateusz Poliwczak"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "A malformed DNS message in response to a query can cause the Lookup functions to get stuck in an infinite loop."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "CWE 400: Uncontrolled Resource Consumption",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-06-14T13:06:06.195Z",
        "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "shortName": "Go"
      },
      "references": [
        {
          "url": "https://go.dev/issue/66754"
        },
        {
          "url": "https://go.dev/cl/578375"
        },
        {
          "url": "https://groups.google.com/g/golang-announce/c/wkkO4P9stm0"
        },
        {
          "url": "https://pkg.go.dev/vuln/GO-2024-2824"
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2024/05/08/3"
        },
        {
          "url": "https://security.netapp.com/advisory/ntap-20240605-0002/"
        },
        {
          "url": "https://security.netapp.com/advisory/ntap-20240614-0001/"
        }
      ],
      "title": "Malformed DNS message can cause infinite loop in net"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
    "assignerShortName": "Go",
    "cveId": "CVE-2024-24788",
    "datePublished": "2024-05-08T15:31:11.619Z",
    "dateReserved": "2024-01-30T16:05:14.758Z",
    "dateUpdated": "2025-02-13T17:40:27.179Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-24788",
      "date": "2026-10-14",
      "epss": "0.01001",
      "percentile": "0.62088"
    },
    "microsoft_vex": {
      "current_release_date": "2026-09-17T01:52:38.000Z",
      "cve": "CVE-2024-24788",
      "id": "msrc_CVE-2024-24788",
      "initial_release_date": "2025-09-03T20:01:23.000Z",
      "product_status:fixed": "6",
      "product_status:known_affected": "7",
      "product_status:known_not_affected": "16",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "Malformed DNS message can cause infinite loop in net",
      "url": "https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2024-24788.json",
      "version": "6"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://pkg.go.dev",
                "defaultStatus": "unaffected",
                "packageName": "net",
                "product": "net",
                "programRoutines": [
                  {
                    "name": "extractExtendedRCode"
                  },
                  {
                    "name": "Dial"
                  },
                  {
                    "name": "DialTimeout"
                  },
                  {
                    "name": "Dialer.Dial"
                  },
                  {
                    "name": "Dialer.DialContext"
                  },
                  {
                    "name": "Listen"
                  },
                  {
                    "name": "ListenConfig.Listen"
                  },
                  {
                    "name": "ListenConfig.ListenPacket"
                  },
                  {
                    "name": "ListenPacket"
                  },
                  {
                    "name": "LookupAddr"
                  },
                  {
                    "name": "LookupCNAME"
                  },
                  {
                    "name": "LookupHost"
                  },
                  {
                    "name": "LookupIP"
                  },
                  {
                    "name": "LookupMX"
                  },
                  {
                    "name": "LookupNS"
                  },
                  {
                    "name": "LookupSRV"
                  },
                  {
                    "name": "LookupTXT"
                  },
                  {
                    "name": "ResolveIPAddr"
                  },
                  {
                    "name": "ResolveTCPAddr"
                  },
                  {
                    "name": "ResolveUDPAddr"
                  },
                  {
                    "name": "Resolver.LookupAddr"
                  },
                  {
                    "name": "Resolver.LookupCNAME"
                  },
                  {
                    "name": "Resolver.LookupHost"
                  },
                  {
                    "name": "Resolver.LookupIP"
                  },
                  {
                    "name": "Resolver.LookupIPAddr"
                  },
                  {
                    "name": "Resolver.LookupMX"
                  },
                  {
                    "name": "Resolver.LookupNS"
                  },
                  {
                    "name": "Resolver.LookupNetIP"
                  },
                  {
                    "name": "Resolver.LookupSRV"
                  },
                  {
                    "name": "Resolver.LookupTXT"
                  }
                ],
                "vendor": "Go standard library",
                "versions": [
                  {
                    "lessThan": "1.22.3",
                    "status": "affected",
                    "version": "1.22.0-0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "security@golang.org"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "A malformed DNS message in response to a query can cause the Lookup functions to get stuck in an infinite loop."
          },
          {
            "lang": "es",
            "value": "Un mensaje DNS con formato incorrecto en respuesta a una consulta puede hacer que las funciones de b\u00fasqueda se atasquen en un bucle infinito."
          }
        ],
        "id": "CVE-2024-24788",
        "lastModified": "2026-06-17T07:14:51.777",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 5.9,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.2,
              "impactScore": 3.6,
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2024-24788",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-12T19:38:26.198197Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2024-05-08T16:15:08.250",
        "references": [
          {
            "source": "security@golang.org",
            "url": "http://www.openwall.com/lists/oss-security/2024/05/08/3"
          },
          {
            "source": "security@golang.org",
            "url": "https://go.dev/cl/578375"
          },
          {
            "source": "security@golang.org",
            "url": "https://go.dev/issue/66754"
          },
          {
            "source": "security@golang.org",
            "url": "https://groups.google.com/g/golang-announce/c/wkkO4P9stm0"
          },
          {
            "source": "security@golang.org",
            "url": "https://pkg.go.dev/vuln/GO-2024-2824"
          },
          {
            "source": "security@golang.org",
            "url": "https://security.netapp.com/advisory/ntap-20240605-0002/"
          },
          {
            "source": "security@golang.org",
            "url": "https://security.netapp.com/advisory/ntap-20240614-0001/"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.openwall.com/lists/oss-security/2024/05/08/3"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://go.dev/cl/578375"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://go.dev/issue/66754"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://groups.google.com/g/golang-announce/c/wkkO4P9stm0"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://pkg.go.dev/vuln/GO-2024-2824"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://security.netapp.com/advisory/ntap-20240605-0002/"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://security.netapp.com/advisory/ntap-20240614-0001/"
          }
        ],
        "sourceIdentifier": "security@golang.org",
        "vulnStatus": "Deferred",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-835"
              }
            ],
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-13T02:45:47+00:00",
      "cve": "CVE-2024-24788",
      "id": "CVE-2024-24788",
      "initial_release_date": "2024-05-08T00:00:00+00:00",
      "product_status:fixed": "895",
      "product_status:known_affected": "86",
      "product_status:known_not_affected": "406",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "golang: net: malformed DNS message can cause infinite loop",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-24788.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-01T23:28:12.532Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://go.dev/issue/66754"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://go.dev/cl/578375"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://groups.google.com/g/golang-announce/c/wkkO4P9stm0"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://pkg.go.dev/vuln/GO-2024-2824"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "http://www.openwall.com/lists/oss-security/2024/05/08/3"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://security.netapp.com/advisory/ntap-20240605-0002/"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://security.netapp.com/advisory/ntap-20240614-0001/"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "cvssV3_1": {
                  "attackComplexity": "HIGH",
                  "attackVector": "NETWORK",
                  "availabilityImpact": "HIGH",
                  "baseScore": 5.9,
                  "baseSeverity": "MEDIUM",
                  "confidentialityImpact": "NONE",
                  "integrityImpact": "NONE",
                  "privilegesRequired": "NONE",
                  "scope": "UNCHANGED",
                  "userInteraction": "NONE",
                  "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "version": "3.1"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-24788",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-06-12T19:38:26.198197Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "problemTypes": [
              {
                "descriptions": [
                  {
                    "cweId": "CWE-835",
                    "description": "CWE-835 Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027)",
                    "lang": "en",
                    "type": "CWE"
                  }
                ]
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-06-12T19:40:30.455Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pkg.go.dev",
              "defaultStatus": "unaffected",
              "packageName": "net",
              "product": "net",
              "programRoutines": [
                {
                  "name": "extractExtendedRCode"
                },
                {
                  "name": "Dial"
                },
                {
                  "name": "DialTimeout"
                },
                {
                  "name": "Dialer.Dial"
                },
                {
                  "name": "Dialer.DialContext"
                },
                {
                  "name": "Listen"
                },
                {
                  "name": "ListenConfig.Listen"
                },
                {
                  "name": "ListenConfig.ListenPacket"
                },
                {
                  "name": "ListenPacket"
                },
                {
                  "name": "LookupAddr"
                },
                {
                  "name": "LookupCNAME"
                },
                {
                  "name": "LookupHost"
                },
                {
                  "name": "LookupIP"
                },
                {
                  "name": "LookupMX"
                },
                {
                  "name": "LookupNS"
                },
                {
                  "name": "LookupSRV"
                },
                {
                  "name": "LookupTXT"
                },
                {
                  "name": "ResolveIPAddr"
                },
                {
                  "name": "ResolveTCPAddr"
                },
                {
                  "name": "ResolveUDPAddr"
                },
                {
                  "name": "Resolver.LookupAddr"
                },
                {
                  "name": "Resolver.LookupCNAME"
                },
                {
                  "name": "Resolver.LookupHost"
                },
                {
                  "name": "Resolver.LookupIP"
                },
                {
                  "name": "Resolver.LookupIPAddr"
                },
                {
                  "name": "Resolver.LookupMX"
                },
                {
                  "name": "Resolver.LookupNS"
                },
                {
                  "name": "Resolver.LookupNetIP"
                },
                {
                  "name": "Resolver.LookupSRV"
                },
                {
                  "name": "Resolver.LookupTXT"
                }
              ],
              "vendor": "Go standard library",
              "versions": [
                {
                  "lessThan": "1.22.3",
                  "status": "affected",
                  "version": "1.22.0-0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "@long-name-let-people-remember-you"
            },
            {
              "lang": "en",
              "value": "Mateusz Poliwczak"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A malformed DNS message in response to a query can cause the Lookup functions to get stuck in an infinite loop."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "CWE 400: Uncontrolled Resource Consumption",
                  "lang": "en"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-06-14T13:06:06.195Z",
            "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
            "shortName": "Go"
          },
          "references": [
            {
              "url": "https://go.dev/issue/66754"
            },
            {
              "url": "https://go.dev/cl/578375"
            },
            {
              "url": "https://groups.google.com/g/golang-announce/c/wkkO4P9stm0"
            },
            {
              "url": "https://pkg.go.dev/vuln/GO-2024-2824"
            },
            {
              "url": "http://www.openwall.com/lists/oss-security/2024/05/08/3"
            },
            {
              "url": "https://security.netapp.com/advisory/ntap-20240605-0002/"
            },
            {
              "url": "https://security.netapp.com/advisory/ntap-20240614-0001/"
            }
          ],
          "title": "Malformed DNS message can cause infinite loop in net"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "assignerShortName": "Go",
        "cveId": "CVE-2024-24788",
        "datePublished": "2024-05-08T15:31:11.619Z",
        "dateReserved": "2024-01-30T16:05:14.758Z",
        "dateUpdated": "2025-02-13T17:40:27.179Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.