Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

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

CVSS 4.0 8.6 HIGHCVSS 3.1 8.4 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2024-42002

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2024-42002

Published

ros2topic

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "Open Source Robotics Foundation",
                    "product": "Robot Operating System 2 (ROS 2)",
                    "platforms": [
                        "Linux",
                        "MacOS",
                        "Windows"
                    ],
                    "packageName": "ros2topic",
                    "repo": "https://github.com/ros2/ros2cli",
                    "modules": [
                        "ros2topic"
                    ],
                    "programFiles": [
                        "ros2topic/ros2topic/verb/hz.py"
                    ],
                    "versions": [
                        {
                            "status": "affected",
                            "version": "Rolling Ridley",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "Lyrical Luth",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "Kilted Kaiju",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "Jazzy Jalisco",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "Iron Irwini",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "Humble Hawksbill",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "Galactic Geochelone",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "Foxy Fitzroy",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "Eloquent Elusor",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "Dashing Diademata",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "Crystal Clemmys",
                            "versionType": "custom"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 19 Nov 00:35 UTC · 273 of 275 readable · 270 fully read · documentation 469/469 current