Unsafe use of eval() method in rosbag tool
Open Source Robotics Foundation Robot Operating System (ROS)
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Open Source Robotics Foundation Robot Operating System (ROS) Linux, Windows, MacOS |
| No fix yet |
Original description
A code execution vulnerability has been identified in the Robot Operating System (ROS) 'rosbag' tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability arises from the use of the eval() function to process unsanitized, user-supplied input in the 'rosbag filter' command. This flaw enables attackers to craft and execute arbitrary Python code.