Code Injection Vulnerability in Robot Operating System's Command-Line Tool
CVE-2024-41921
Key Information:
- Vendor
- CVE Published:
- 17 July 2025
What is CVE-2024-41921?
A code injection vulnerability has been identified in the Robot Operating System (ROS) related to its 'rostopic' command-line tool. Specifically, the issue is linked to the 'echo' verb, which permits a user to introspect a ROS topic. The tool's '--filter' option accepts a user-defined Python expression that is subsequently passed to the eval() function without any form of input sanitization. This oversight empowers local users to craft and execute arbitrary code, posing significant security risks to systems running affected versions of the Robot Operating System.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
Robot Operating System (ROS) Linux Noetic Ninjemys
Robot Operating System (ROS) Linux Melodic Morenia
Robot Operating System (ROS) Linux Kinetic Kame
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
