Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2024-42002 Details

Description

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References 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.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-94Improper Control of Generation of Code ('Code Injection')[email protected]
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')[email protected]

Affected Products

No affected product data is available for this CVE.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2024-42002
NVD Published Date:
Sep 28, 2026
NVD Last Modified:
Sep 30, 2026
Source:
[email protected]
CVE-2024-42002 Details - Not Deferred