Skip to content
Heist/ feed
Back to feed
Critical

FreeRTOS-Plus-TCP Buffer Over-Read in DNS Response Parser

Type: advisorySources: OSV

FreeRTOS-Plus-TCP is a lightweight TCP/IP stack for FreeRTOS. FreeRTOS-Plus-TCP versions 4.0.0 through 4.1.0 contain a buffer over-read issue in the DNS Response Parser when parsing domain names in a DNS response. A carefully crafted DNS response with domain name length value greater than the actual domain name length, could cause the parser to read beyond the DNS response buffer. This issue affects applications using DNS functionality of the FreeRTOS-Plus-TCP stack. Applications that do not use DNS functionality are not affected, even when the DNS functionality is enabled. This vulnerability has been patched in version 4.1.1.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-38373
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:53 UTC · Revision 1

Source evidence

FreeRTOS-Plus-TCP Buffer Over-Read in DNS Response Parser

core-osv · Original source

Published 24 Jun 2024, 16:23 UTC

FreeRTOS-Plus-TCP is a lightweight TCP/IP stack for FreeRTOS. FreeRTOS-Plus-TCP versions 4.0.0 through 4.1.0 contain a buffer over-read issue in the DNS Response Parser when parsing domain names in a DNS response. A carefully crafted DNS response with domain name length value greater than the actual domain name length, could cause the parser to read beyond the DNS response buffer. This issue affects applications using DNS functionality of the FreeRTOS-Plus-TCP stack. Applications that do not use DNS functionality are not affected, even when the DNS functionality is enabled. This vulnerability has been patched in version 4.1.1.

osv:CVE-2024-38373
Complete source record
{
  "id": "fc0ede06defe3d2a41f591d2075a9715659dd89585e1bf9a6850981342fae5c0",
  "url": "https://osv.dev/vulnerability/CVE-2024-38373",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "FreeRTOS-Plus-TCP Buffer Over-Read in DNS Response Parser",
    "summary": "FreeRTOS-Plus-TCP is a lightweight TCP/IP stack for FreeRTOS. FreeRTOS-Plus-TCP versions 4.0.0 through 4.1.0 contain a buffer over-read issue in the DNS Response Parser when parsing domain names in a DNS response. A carefully crafted DNS response with domain name length value greater than the actual domain name length, could cause the parser to read beyond the DNS response buffer. This issue affects applications using DNS functionality of the FreeRTOS-Plus-TCP stack. Applications that do not use DNS functionality are not affected, even when the DNS functionality is enabled. This vulnerability has been patched in version 4.1.1.",
    "evidence": "osv:CVE-2024-38373",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-38373",
      "aliases": [
        "CVE-2024-38373",
        "GHSA-ppcp-rg65-58mv"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/freertos/freertos-plus-tcp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3e26a338bd1547bbaa6f4965def1a4b152620d3e"
                },
                {
                  "fixed": "6fe8ae69a0412c0a1e203d58424dec861158c723"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:amazon:freertos-plus-tcp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6fe8ae69a0412c0a1e203d58424dec861158c723"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "V4.1.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "V4.1.0",
            "V4.0.0-appsec"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38373.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.279680795Z",
      "provider": "osv",
      "references": [
        "https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/releases/tag/V4.1.1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38373.json",
        "https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/security/advisories/GHSA-ppcp-rg65-58mv",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-38373"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-126"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38373.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-38373",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492856,
  "published_at": "2024-06-24T16:23:00.162+00:00"
}