CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-39780: Use of unsafe yaml load in dynparam

8.4 CVSS

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. This issue has now been fixed for ROS Noetic via commit 3d93ac13603438323d7e9fa74e879e45c5fe2e8e.

Classification

CVE ID: CVE-2024-39780

CVSS Base Severity: HIGH

CVSS Base Score: 8.4

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem Types

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

Affected Products

Vendor: Open Source Robotics Foundation

Product: Robot Operating System (ROS)

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.07% (probability of being exploited)

EPSS Percentile: 23.35% (scored less or equal to compared to others)

EPSS Date: 2025-05-01 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-39780
https://github.com/ros/dynamic_reconfigure/pull/202

Timeline