7.8high
Unsafe use of eval() method in roslaunch tool
- Severity
- 7.8high CVSS:3.1 by canonical
- Exploit likelihood
- 0.33% (higher than 19% of CVEs)
- Published
- Last changed
- Assigned by
- canonical
Description
A code injection vulnerability has been identified in the Robot Operating System (ROS) 'roslaunch' command-line tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability arises from the use of the eval() method to process user-supplied, unsanitized parameter values within the substitution args mechanism, which roslaunch evaluates before launching a node. This flaw allows attackers to craft and execute arbitrary Python code.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| roslaunch | Noetic Ninjemys, Melodic Morenia, Kinetic Kame, Indigo Igloo | CVE List |
| openrobotics robot_operating_system | indigo_igloo, kinetic_kame, melodic_morenia, noetic_ninjemys | NVD |
Classification
What each source says
CVE List
A code injection vulnerability has been identified in the Robot Operating System (ROS) 'roslaunch' command-line tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability arises from the use of the eval() method to process user-supplied, unsanitized parameter values within the substitution args mechanism, which roslaunch evaluates before launching a node. This flaw allows attackers to craft and execute arbitrary Python code.
NVD (es)
Se ha identificado una vulnerabilidad de inyección de código en la herramienta de línea de comandos "roslaunch" del Robot Operating System (ROS), que afecta a las distribuciones de ROS Noetic Ninjemys y anteriores. La vulnerabilidad surge del uso del método eval() para procesar valores de parámetros no saneados, proporcionados por el usuario, dentro del mecanismo de argumentos de sustitución, que roslaunch evalúa antes de lanzar un nodo. Esta falla permite a los atacantes manipular y ejecutar código Python arbitrario.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-39835 changed 2025-07-18 | CVE Terms of Use |
| NVD | CVE-2024-39835 changed 2026-06-17 | Public domain |