CVE-2024-41921
Publication date 17 July 2025
Last updated 24 July 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| ros-kinetic-ros-comm | 16.04 LTS xenial |
Fixed 1.12.17+9
|
| ros-melodic-ros-comm | 18.04 LTS bionic |
Fixed 1.14.13+5
|
| ros-noetic-ros-comm | 20.04 LTS focal |
Fixed 1.17.4+2
|
| ros-ros-comm | 26.04 LTS resolute | Not in release |
| 24.04 LTS noble | Not in release | |
| 22.04 LTS jammy |
Needs evaluation
|
|
| 20.04 LTS focal |
Needs evaluation
|
|
| 18.04 LTS bionic |
Needs evaluation
|
|
| 16.04 LTS xenial | Ignored end of ESM support, was needs-triage |
Severity score breakdown
CVSS version: CVSS v3.0
Base score
7.8 · High
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H