7.8high
Unsafe use of eval() method in rosparam tool
- Severity
- 7.8high CVSS:3.1 by canonical
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- canonical
Description
A code execution vulnerability has been discovered in the Robot Operating System (ROS) 'rosparam' tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability stems from the use of the eval() function to process unsanitized, user-supplied parameter values via special converters for angle representations in radians. This flaw allowed attackers to craft and execute arbitrary Python code.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rosparam | 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 execution vulnerability has been discovered in the Robot Operating System (ROS) 'rosparam' tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability stems from the use of the eval() function to process unsanitized, user-supplied parameter values via special converters for angle representations in radians. This flaw allowed attackers to craft and execute arbitrary Python code.
NVD (es)
Se ha descubierto una vulnerabilidad de ejecución de código en la herramienta 'rosparam' del Robot Operating System (ROS), que afecta a las distribuciones de ROS Noetic Ninjemys y anteriores. La vulnerabilidad se debe al uso de la función eval() para procesar valores de parámetros no depurados, proporcionados por el usuario, mediante convertidores especiales para representaciones de ángulos en radianes. Esta falla permitía a los atacantes manipular y ejecutar código Python arbitrario.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-39289 changed 2025-07-18 | CVE Terms of Use |
| NVD | CVE-2024-39289 changed 2026-06-17 | Public domain |