{"id":"DEBIAN-CVE-2024-41148","details":"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 'hz' verb, which reports the publishing rate of a 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.","modified":"2026-09-28T17:00:08.432303670Z","published":"2025-07-17T20:15:27.570Z","upstream":["CVE-2024-41148"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-41148"}],"affected":[{"package":{"name":"ros-ros-comm","ecosystem":"Debian:12","purl":"pkg:deb/debian/ros-ros-comm?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.15+ds-2","1.16.0+ds-1","1.16.0+ds-2","1.16.0+ds-3","1.16.0+ds-3.1","1.16.0+ds-3.1~exp1","1.16.0+ds-4","1.16.0+ds-5","1.16.0+ds-6","1.17.0+ds-1","1.17.0+ds-2","1.17.4+ds-1","1.17.4+ds-2","1.17.4+ds-3","1.17.4+ds-4"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-41148.json"}},{"package":{"name":"ros-ros-comm","ecosystem":"Debian:13","purl":"pkg:deb/debian/ros-ros-comm?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.0+ds-2","1.17.4+ds-1","1.17.4+ds-2","1.17.4+ds-3","1.17.4+ds-4"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-41148.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}