CVE-2024-41921: Unsafe use of eval() method in rostopic echo tool
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.
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2024-41921?
CVE-2024-41921 is classified as a code injection vulnerability that potentially allows unauthorized code execution.
How do I fix CVE-2024-41921?
To mitigate CVE-2024-41921, upgrade to the latest ROS distribution that is beyond Noetic Ninjemys.
What versions of ROS are affected by CVE-2024-41921?
CVE-2024-41921 affects ROS distributions Noetic Ninjemys and earlier.
What components of ROS does CVE-2024-41921 impact?
CVE-2024-41921 specifically impacts the 'rostopic' command-line tool within the Robot Operating System.
Can CVE-2024-41921 be exploited remotely?
Yes, CVE-2024-41921 can be exploited if an attacker has access to the ROS 'rostopic echo' command that processes malicious input.