CVE-2024-41148 - CVE House
Back to Database
Status published High CVE-2024-41148

Unsafe use of eval() method in rostopic hz tool

Vulnerability Description

A code injection vulnerability has been discovered in the Robot Operating System (ROS) 'rostopic' command-line tool, affecting ROS distributions Noetic Ninjemys and earlier. 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-41148

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Florencia Cabral Berenfus, Ubuntu Robotics Team

Affected Vendor

Open Source Robotics Foundation

View all reports →

Affected Software

Robot Operating System (ROS)
Vulnerable Versions:
Noetic Ninjemys, Melodic Morenia, Kinetic Kame, Indigo Igloo

Timeline

Official Publish: July 17th, 2025
Last Modified: July 18th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses (CWE)