cveboard RSS feed

CVE-2024-42002

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2024
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

Unsafe use of eval() method in ros2 topic hz tool

A code injection vulnerability has been discovered in the Robot Operating System 2 (ROS 2) 'ros2topic' command-line tool, affecting all ROS 2 distributions from Crystal Clemmys up to and including Lyrical Luth and Rolling Ridley. The vulnerability lies in the 'hz' verb, which reports the publishing rate of a topic and accepts a user-provided Python expression via the --filter option. This input is passed directly to the eval() function without sanitization, allowing a local user to craft and execute arbitrary code.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Robot Operating System 2 (ROS 2)

Vendor
Open Source Robotics Foundation
Product
Robot Operating System 2 (ROS 2)
Platforms
  • Linux
  • MacOS
  • Windows
Default status
unaffected
Package
ros2topic
Robot Operating System 2 (ROS 2) · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
Rolling RidleyaffectedcustomUnavailableUnavailableNone listed
Lyrical LuthaffectedcustomUnavailableUnavailableNone listed
Kilted KaijuaffectedcustomUnavailableUnavailableNone listed
Jazzy JaliscoaffectedcustomUnavailableUnavailableNone listed
Iron IrwiniaffectedcustomUnavailableUnavailableNone listed
Humble HawksbillaffectedcustomUnavailableUnavailableNone listed
Galactic GeocheloneaffectedcustomUnavailableUnavailableNone listed
Foxy FitzroyaffectedcustomUnavailableUnavailableNone listed
Eloquent ElusoraffectedcustomUnavailableUnavailableNone listed
Dashing DiademataaffectedcustomUnavailableUnavailableNone listed
Crystal ClemmysaffectedcustomUnavailableUnavailableNone listed