Unsafe use of eval() method in rostopic echo tool
Vulnerability Description
A code injection vulnerability has been discovered in the Robot Operating System (ROS) 'rostopic' command-line tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability lies in the 'echo' verb, which allows a user to introspect a ROS topic and accepts a user-provided Python expression via the --filter option. This input is passed directly to the eval() function without sanitization, allowing a local user to craft and execute arbitrary code.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-41921
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- Florencia Cabral Berenfus, Ubuntu Robotics Team
References
More from Open Source Robotics Foundation
View All →Affected Vendor
Open Source Robotics Foundation
View all reports →