CVE-2024-41148
BaseFortify
Publication date: 2025-07-17
Last updated on: 2025-08-26
Assigner: Canonical Ltd.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| openrobotics | robot_operating_system | indigo_igloo |
| openrobotics | robot_operating_system | kinetic_kame |
| openrobotics | robot_operating_system | melodic_morenia |
| openrobotics | robot_operating_system | noetic_ninjemys |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-94 | The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |
| CWE-95 | The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval"). |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a code injection flaw in the Robot Operating System (ROS) 'rostopic' command-line tool, specifically in the 'hz' verb. It occurs because the tool accepts a user-provided Python expression via the --filter option and passes it directly to the eval() function without sanitization. This allows a local user to execute arbitrary code by crafting a malicious expression.
How can this vulnerability impact me? :
The vulnerability can allow a local attacker to execute arbitrary code on the affected system with the privileges of the user running the 'rostopic' tool. This can lead to complete compromise of confidentiality, integrity, and availability of the system, potentially allowing data theft, system manipulation, or denial of service.