Vulnerability details
CVE-2024-41921
Open Source Robotics Foundation Robot Operating System
Unsafe use of eval() method in rostopic echo tool
CVSS 3.1
7.8High
Official description
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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 7.8High | 3.1 | CVEProject cvelistV5 (CNA) (canonical) | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| Open Source Robotics Foundation | Robot Operating System (ROS) | Indigo Igloo | CVEProject cvelistV5 (CNA) |
| Open Source Robotics Foundation | Robot Operating System (ROS) | Kinetic Kame | CVEProject cvelistV5 (CNA) |
| Open Source Robotics Foundation | Robot Operating System (ROS) | Melodic Morenia | CVEProject cvelistV5 (CNA) |
| Open Source Robotics Foundation | Robot Operating System (ROS) | Noetic Ninjemys | CVEProject cvelistV5 (CNA) |
References and advisories
1
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2025-07-17
- Last updated
- 2025-07-18
- State
- Published
- Assigner (CNA)
- canonical
Exploit prediction (EPSS)
0.22%
Probability of exploitation in 30 days
12.8%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- None
- Technical impact
- Total
Weaknesses (CWE)
- CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
- CWE-94Improper Control of Generation of Code ('Code Injection')