CVE-2024-39835
JSON

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 packageVersionsReported by
roslaunchNoetic 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 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

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