CVE-2024-41148
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2024
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
Unsafe use of eval() method in rostopic hz 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 '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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Robot Operating System (ROS)
- Vendor
- Open Source Robotics Foundation
- Product
- Robot Operating System (ROS)
- Platforms
- Linux
- Windows
- MacOS
- Default status
unaffected- Package
- rostopic
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| Noetic Ninjemys | affected | Unavailable | Unavailable | Unavailable | None listed |
| Melodic Morenia | affected | Unavailable | Unavailable | Unavailable | None listed |
| Kinetic Kame | affected | Unavailable | Unavailable | Unavailable | None listed |
| Indigo Igloo | affected | Unavailable | Unavailable | Unavailable | None listed |