CVE-2024-39289
JSON

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 packageVersionsReported by
rosparamNoetic Ninjemys, Melodic Morenia, Kinetic Kame, Indigo IglooCVE List
openrobotics robot_operating_systemindigo_igloo, kinetic_kame, melodic_morenia, noetic_ninjemysNVD

Classification

CWE-94CWE-95

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

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

SourceRecordLicence
CVE ListCVE-2024-39289 changed 2025-07-18CVE Terms of Use
NVDCVE-2024-39289 changed 2026-06-17Public domain