CVE-2024-29450
ROS2 Humble access control flaw allowing code exec, DoS, privilege escalation.
- CWE-287 (inferred)
- Authentication, Authorization, and Session Management
- Remote
An issue has been discovered in the permission and access control components within ROS2 Humble Hawksbill, in ROS_VERSION 2 and ROS_PYTHON_VERSION 3, allows attackers to execute arbitrary code, cause a denial of service (DoS), escalate privileges, and obtain sensitive information via the authentication system, including protocols, processes, and checks designed to verify the identities of users or devices attempting to access the ROS2 system. NOTE: this is disputed by multiple third parties who believe there was not reasonable evidence to determine the existence of a vulnerability.
- CWE
- CWE-287 (inferred)
- Published
- 2024-04-11
- OWASP
- A01 Broken Access Control
- Orthogonal defect classification
- Checking
- Code defect classification
- Incorrect Check
- Category
- Authentication, Authorization, and Session Management
- Subcategory
- Privilege Escalation
- Accessibility scope
- Remote
- Impact
- Arbitrary Code Execution
- Affected component
- ROS2
Solution
Upgrade ROS 2 Humble to version 2.5.0 (or later), which contains the patched permission and access‑control components.
Vulnerable code sample
import rclpy
from rclpy.node import Node
def init_node():
rclpy.init()
# VULNERABLE: disables ROS2 security, allowing unauthenticated access
node = Node('example_node', enable_security=False)
return nodePatched code sample
import rclpy
from rclpy.node import Node
def init_node():
rclpy.init()
# FIX: enable ROS2 security to enforce authentication
node = Node('example_node', enable_security=True)
return nodeCite this entry
@misc{vaitp:cve202429450,
title = {{ROS2 Humble access control flaw allowing code exec, DoS, privilege escalation.}},
author = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
year = {2024},
note = {VAITP Python Vulnerability Dataset, entry CVE-2024-29450},
howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2024-29450/}}
}
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 ::
