CVE-2024-39780

Use of unsafe yaml load in dynparam

State
Published
Severity
7.8 High
Published
Apr 2, 2025
Updated
Jun 18, 2025
Reserved
Aug 8, 2024

Read the record on cve.org

Description

A YAML deserialization vulnerability was found in the Robot Operating System (ROS) 'dynparam', a command-line tool for getting, setting, and deleting parameters of a dynamically configurable node, affecting ROS distributions Noetic and earlier. The issue is caused by the use of the yaml.load() function in the 'set' and 'get' verbs, and allows for the creation of arbitrary Python objects. Through this flaw, a local or remote user can craft and execute arbitrary Python code.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Hcanonical

Weaknesses

  • CWE-502 Deserialization of Untrusted Data
  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
Robot Operating System (ROS)Open Source Robotics Foundation
  • Noetic NinjemysAffected
  • Melodic MoreniaAffected
  • Kinetic KameAffected
  • Indigo IglooAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.