{"id":"CVE-2024-41921","published":"2025-07-17T19:13:34Z","modified":"2025-07-18T08:05:08Z","title":"Unsafe use of eval() method in rostopic echo tool","vendor":"Open Source Robotics Foundation","product":"Robot Operating System (ROS)","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00222,"percentile":0.13024,"provenance":"source"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.ros.org/blog/noetic-eol/","tags":["product"]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":2.6},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"open-source-robotics-foundation","affectedVersions":[{"vendor":"Open Source Robotics Foundation","product":"Robot Operating System (ROS)","versions":["Noetic Ninjemys","Melodic Morenia","Kinetic Kame","Indigo Igloo"]}],"solutions":{"items":["All ROS (1) versions are EOL, upgrade to a ROS 2 version."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-586","name":"Object Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-07-17T20:37:06.242493Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-54797","exploited":false,"provenance":"source"}}