CRITICAL🇵🇱 Wersja polska

CVE-2024-38373

CVSS 9.6v3.1pub. 2024-06-24upd. 2024-11-21

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.

🤖 AI Analysis
How it works

The DNS response parser in FreeRTOS-Plus-TCP does not properly validate the length of the domain name contained in the DNS response. An attacker can craft a DNS response in which the domain name length field indicates a value greater than the actual length of that name. As a result, the parser reads data beyond the boundary of the DNS response buffer (CWE-125: Out-of-bounds Read, CWE-126: Buffer Over-read). The vulnerability only affects applications actively using DNS functionality — applications not using DNS are not exposed, even if DNS support is compiled into the code.

Impact

An attacker can obtain unauthorized read access to device memory fragments (confidential data leak) and potentially trigger a network stack crash leading to denial of service (DoS). The attack vector is network-based and does not require prior authentication at the target application level.

Mitigation & patch

FreeRTOS-Plus-TCP should be updated to version 4.1.1, in which the vulnerability has been fixed. Patch is available in the official GitHub repository under the V4.1.1 tag. As a temporary workaround, disabling or limiting DNS functionality in applications that do not require it can be considered.

Who is affected

FreeRTOS-Plus-TCP in versions 4.0.0 and 4.1.0 — applications using DNS functionality. Applications not using DNS are not vulnerable.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:H
  • Amazon Freertos Plus Tcp

    APP
    Amazon
    4.0.0 – 4.1.1 (excl.)
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2026-7422HIGH7.1same product

Insufficient packet validation in FreeRTOS-Plus-TCP before V4.2.6 and V4.4.1 allows an adjacent network actor ...

CVE-2026-7424HIGH7.2same product

Integer underflow in the DHCPv6 sub-option parser in FreeRTOS-Plus-TCP before V4.4.1 and V4.2.6 allows an adja...

CVE-2026-7426MEDIUM6.1same product

Niedostateczna walidacja pola długości prefiksu w przetwarzaniu IPv6 Router Advertisement w FreeRTOS-Plus-TCP ...

CVE-2026-7423MEDIUM6.0same product

Integer underflow w obsługiwaczach odpowiedzi ICMP i ICMPv6 echo w FreeRTOS-Plus-TCP przed wersjami V4.4.1 i V...

CVE-2026-7425MEDIUM6.0same product

Niewystarczające walidowanie długości opcji w parserze IPv6 Router Advertisement w FreeRTOS-Plus-TCP przed wer...