CVE-2024-30722
ROS Kinetic remote DoS via nodes (disputed, lacking evidence).
- CWE-400 (inferred)
- Resource Management
- Remote
An issue was discovered in ROS Kinetic Kame in ROS_VERSION 1 and ROS_PYTHON_VERSION 3, allows remote attackers to cause a denial of service (DoS) via the ROS 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
- Timing Issues
- Category
- Resource Management
- Subcategory
- Resource Exhaustion
- Accessibility scope
- Remote
- Impact
- Denial of Service (DoS)
- Affected component
- Python 3
Solution
Upgrade ROS Kinetic Kame to the latest Kinetic release (e.g., ROS Kinetic Kame v1.12.14) or migrate to a newer, actively maintained ROS distribution such as ROS Melodic (v1.14.x).
Vulnerable code sample
import rospy
from std_msgs.msg import String
def callback(msg):
# process message (placeholder)
pass
def start_node():
rospy.init_node('example_node')
# VULNERABLE: unbounded subscriber queue can exhaust memory
rospy.Subscriber('chatter', String, callback) # no queue_size
rospy.spin()Patched code sample
import rospy
from std_msgs.msg import String
def callback(msg):
# process message (placeholder)
pass
def start_node():
rospy.init_node('example_node')
# FIX: limit subscriber queue to prevent memory exhaustion
rospy.Subscriber('chatter', String, callback, queue_size=10)
rospy.spin()Cite this entry
@misc{vaitp:cve202430722,
title = {{ROS Kinetic remote DoS via nodes (disputed, lacking evidence).}},
author = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
year = {2024},
note = {VAITP Python Vulnerability Dataset, entry CVE-2024-30722},
howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2024-30722/}}
}
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 ::
