CVE-2024-39780 Use of unsafe yaml load in dynparam
A YAML deserialization flaw in ROS dynparam allows local or remote attackers to execute arbitrary Python code via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-39780?
CVE-2024-39780 is a high-severity unsafe deserialization vulnerability in Open Source Robotics Foundation Robot Operating System (ROS), published on 2 Apr 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2024-39780?
It affects 1 product.
Products include Openrobotics Robot Operating System.
How do I fix CVE-2024-39780?
Apply the vendor's patch.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2024-39780 being exploited?
There is no known exploitation of CVE-2024-39780 in the wild and no public exploit code.
Other vulnerabilities in Open Source Robotics Foundation Robot Operating System (ROS)
Sources
Also known as DEBIAN-CVE-2024-39780, GHSA-92fv-mr4v-6fw4, UBUNTU-CVE-2024-39780.