7.8

CVE-2024-41921: Unsafe use of eval() method in rostopic echo tool

Analyzed
AliasesUBUNTU-CVE-2024-41921DEBIAN-CVE-2024-41921
Published 17-07-2025Last modified 18-07-2025

Vulnerability summary

CVE-2024-41921 is a high (CVSS 7.8) Improper Control of Generation of Code vulnerability in open source robotics foundation robot operating system (ros). EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 17-07-2025
    PublishedVulnerability first disclosed.
  2. 18-07-2025
    Last modifiedVulnerability information updated.

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 'echo' verb, which allows a user to introspect a ROS 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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.22% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • ros-ros-commAll versions (No fix recorded)
Open source robotics foundation1 product
Openrobotics1 product
Ubuntu1 product
  • ros-ros-commAll versions (No fix recorded)

4 vendors · 4 products

References

4 links