Vulnerability · CVE-2024-41921
A code injection vulnerability has been discovered in the Robot Operating System (ROS) 'rostopic' command-line tool, affecting ROS distributions Noetic Ninjemys and earlier.
Published Jul 17, 2025 · catalog updated Jul 18, 2025 · Open Source Robotics Foundation Robot Operating System (ROS)
Check if you run it
No confirmed exploitation is on record for CVE-2024-41921. EPSS is 0.22%. Act only if a listed version of Open Source Robotics Foundation Robot Operating System (ROS) is installed.
Gaps on this record
- No version range is stored. A customer cannot check an installed version against this record.
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- High7.8
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.22%
- Remediation
- Vendor / distro source
- Affected products
- vendor Open Source Robotics Foundation Robot Operating System (ROS) Melodic Morenia
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor Open Source Robotics Foundation Robot Operating System (ROS) Melodic MoreniaMelodic Morenia
How to fix CVE-2024-41921
Recommended remediation
A vendor or distribution source is linked. Check that advisory for patch availability; this catalog does not invent fix status.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2024-41921. EPSS is 0.22%. Act only if a listed version of Open Source Robotics Foundation Robot Operating System (ROS) is installed.
Which versions are affected?
Compare what you have installed with Open Source Robotics Foundation Robot Operating System (ROS) Melodic Morenia Melodic Morenia. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 0.22%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Jul 17, 2025 · EUVD
Detected
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 sanit
Jul 18, 2025 · EUVD
Updated
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 sanit
Sources
- CVE.orgVulnerability recordCVE-2024-41921
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2024-41921
30-day exploitation probability 0.22%
first.org - EUVDVulnerability recordEUVD-2024-54797
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 use
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Oct 21, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.