{"id":"CVE-2024-39835","state":"PUBLISHED","title":"Unsafe use of eval() method in roslaunch tool","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.","publishedAt":"2025-07-17T19:12:08.177Z","updatedAt":"2025-07-18T08:04:28.875Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["Open Source Robotics Foundation Robot Operating System (ROS)"],"affected":[{"vendor":"Open Source Robotics Foundation","product":"Robot Operating System (ROS)","packageName":"roslaunch","defaultStatus":"unaffected","versions":[{"version":"Noetic Ninjemys","status":"affected"},{"version":"Melodic Morenia","status":"affected"},{"version":"Kinetic Kame","status":"affected"},{"version":"Indigo Igloo","status":"affected"}],"modules":["roslaunch"],"platforms":["Linux","Windows","MacOS"],"repo":"https://github.com/ros/ros_comm"}],"references":["https://www.ros.org/blog/noetic-eol/"],"weaknesses":["CWE-95","CWE-94"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/39xxx/CVE-2024-39835.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-39835","state":"PUBLISHED","datePublished":"2025-07-17T19:12:08.177Z","dateUpdated":"2025-07-18T08:04:28.875Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2024-08-08T14:41:22.665Z"},"containers":{"cna":{"title":"Unsafe use of eval() method in roslaunch tool","descriptions":[{"lang":"en","value":"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":[{"vendor":"Open Source Robotics Foundation","product":"Robot Operating System (ROS)","packageName":"roslaunch","defaultStatus":"unaffected","versions":[{"version":"Noetic Ninjemys","status":"affected"},{"version":"Melodic Morenia","status":"affected"},{"version":"Kinetic Kame","status":"affected"},{"version":"Indigo Igloo","status":"affected"}],"modules":["roslaunch"],"platforms":["Linux","Windows","MacOS"],"repo":"https://github.com/ros/ros_comm"}],"references":[{"url":"https://www.ros.org/blog/noetic-eol/","tags":["product"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-95","description":"CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2025-07-18T08:04:28.875Z"},"credits":[{"lang":"en","type":"finder","value":"Florencia Cabral Berenfus, Ubuntu Robotics Team"}],"solutions":[{"lang":"en","value":"All ROS (1) versions are EOL, upgrade to a ROS 2 version."}],"impacts":[{"capecId":"CAPEC-586","descriptions":[{"lang":"en","value":"CAPEC-586 Object Injection"}]}],"source":{"discovery":"INTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-17T20:36:20.278839Z","id":"CVE-2024-39835","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-17T20:36:29.087Z"}}]}}}