Robot Operating System 'rosbag' Tool Code Execution Vulnerability

Vulnerability

A code execution vulnerability exists in the Robot Operating System (ROS) 'rosbag' tool, impacting ROS distributions Noetic Ninjemys and earlier. The issue stems from the 'rosbag filter' command, which uses the eval() function to process unsanitized user input. This vulnerability allows attackers to craft and execute arbitrary Python code.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the affected system.

Remediation

Users are encouraged to migrate to ROS 2, as ROS 1 Noetic will reach end-of-life on May 31, 2025. After this date, Noetic users may be exposed to unpatched security vulnerabilities. Migration options include transitioning to ROS 2 Humble Hawksbill or ROS 2 Jazzy Jalisco, depending on the complexity of the ROS 1 project. For projects that are tightly coupled or complex, the ROS 1 to ROS 2 Bridge can be used to migrate one package at a time.

Added: Jul 17, 2025, 8:37 PM
Updated: Jul 17, 2025, 9:49 PM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
10.0
exploitability
6.0
remediation
7.7
relevance
0.2
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.