CVE Database
/

CVE-2024-41148

Back to search

CVE-2024-41148

Published: Jul 17, 2025

Modified: Jul 18, 2025

PUBLISHED

CVSS v3.1

7.8

HIGH

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.

VendorProductVersions

Open Source Robotics Foundation

Robot Operating System (ROS)

affected
Noetic Ninjemys
affected
Melodic Morenia
affected
Kinetic Kame
affected
Indigo Igloo

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

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

Attack Vector

Local

Attack Complexity

Low

Privileges Required

None

User Interaction

Required

Scope

Unchanged

Confidentiality

High

Integrity

High

Availability

High

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now