CVE-2024-39780 Details
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.
A YAML deserialization vulnerability exists in the Robot Operating System (ROS) 'dynparam' command-line tool, which is used to manage parameters of dynamically configurable nodes. This vulnerability affects ROS distributions Noetic and earlier. The issue arises from the 'dynparam' script processing unsanitized parameter input with the unsafe 'yaml.load()' function, allowing for the creation and execution of arbitrary Python objects. As a result, local or remote users can craft inputs that execute arbitrary Python code. This vulnerability has been patched in ROS Noetic by replacing 'yaml.load()' with 'yaml.safe_load()' and is available in the latest version of the 'dynamic_reconfigure' package.
Users can update to the latest version of the 'dynamic_reconfigure' package in ROS Noetic, where this vulnerability has been fixed. For ROS distributions after Noetic, the 'dynamic_reconfigure' package will need to be manually patched or the vulnerability addressed through other means.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ros/dynamic_reconfigure/pull/202 | [email protected] | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openrobotics robot operating system | indigo_igloo kinetic_kame melodic_morenia noetic_ninjemys |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 26, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | CVE Modified | [email protected] |
| Jun 18, 2025 | CVE Modified | [email protected] |
| Apr 2, 2025 | New CVE Received | [email protected] |