CVE-2024-30708
Remote DoS in ROS2 Dashing nodes (disputed vulnerability).
- CWE-400 (inferred)
- Resource Management
- Remote
An issue was discovered in ROS2 Dashing Diademata in ROS_VERSION 2 and ROS_PYTHON_VERSION 3, allows remote attackers to cause a denial of service (DoS) via the ROS2 nodes. NOTE: this is disputed by multiple third parties who believe there was not reasonable evidence to determine the existence of a vulnerability.
- CWE
- CWE-400 (inferred)
- Published
- 2024-04-10
- OWASP
- A06 Vulnerable and Outdated Components
- Orthogonal defect classification
- Timing/Serialization
- Code defect classification
- Serialization Issues
- Category
- Resource Management
- Subcategory
- Resource Exhaustion
- Accessibility scope
- Remote
- Impact
- Denial of Service (DoS)
- Affected component
- ROS2
Solution
Upgrade ROS 2 to a newer, patched release (e.g., ROS 2 Foxy Fitzroy or any later distribution) – Dashing is no longer maintained and the fix is not back‑ported to it.
Vulnerable code sample
import rclpy
from rclpy.node import Node
from rclpy.qos import QoSProfile
class BadNode(Node):
def __init__(self):
super().__init__('bad_node')
# VULNERABLE: unbounded subscription can exhaust memory under high message rate
self.sub = self.create_subscription(
msg_type=String,
topic='chatter',
callback=self.listener_callback,
qos_profile=QoSProfile(depth=0) # unlimited queue
)
def listener_callback(self, msg):
# Process incoming messages (placeholder)
passPatched code sample
import rclpy
from rclpy.node import Node
from rclpy.qos import QoSProfile
class BadNode(Node):
def __init__(self):
super().__init__('bad_node')
# FIX: limit queue size to prevent exhaustion
self.sub = self.create_subscription(
msg_type=String,
topic='chatter',
callback=self.listener_callback,
qos_profile=QoSProfile(depth=10)
)
def listener_callback(self, msg):
# Process incoming messages (placeholder)
passCite this entry
@misc{vaitp:cve202430708,
title = {{Remote DoS in ROS2 Dashing nodes (disputed vulnerability).}},
author = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
year = {2024},
note = {VAITP Python Vulnerability Dataset, entry CVE-2024-30708},
howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2024-30708/}}
}
Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.
The supreme art of war is to subdue the enemy without fighting.
Sun Tzu – “The Art of War”
:: Shaping the future through research and ingenuity ::
