CVE-2024-42002
Last modified
CVE-2024-42002 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. A code injection vulnerability has been discovered in the Robot Operating System 2 (ROS 2) 'ros2topic' command-line tool, affecting all ROS 2 distributions from Crystal Clemmys up to and including Lyrical Luth and Rolling Ridley. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
A code injection vulnerability has been discovered in the Robot Operating System 2 (ROS 2) 'ros2topic' command-line tool, affecting all ROS 2 distributions from Crystal Clemmys up to and including Lyrical Luth and Rolling Ridley. 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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Open Source Robotics Foundation | Robot Operating System 2 (ROS 2) | Rolling Ridley; Lyrical Luth; Kilted Kaiju; Jazzy Jalisco; Iron Irwini; Humble Hawksbill; Galactic Geochelone; Foxy Fitzroy; Eloquent Elusor; Dashing Diademata; Crystal Clemmys |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2024-42002?
How severe is CVE-2024-42002?
How do I fix CVE-2024-42002?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-41996Validating the order of the public keys in the Diffie-Hellma…7.5
- CVE-2024-41997An issue was discovered in version of Warp Terminal prior to…6.6
- CVE-2024-41999Smart-tab Android app installed April 2023 or earlier contai…6.8
- CVE-2024-4200In Progress® Telerik® Reporting versions prior to 2024 Q2 (1…7.8
- CVE-2024-42000Mattermost versions 9.10.x <= 9.10.2, 9.11.x <= 9.11.1, 9.5.…4.3
- CVE-2024-42001An improper authentication vulnerability affecting Vonets …9.8
- CVE-2024-42004A library injection vulnerability exists in Microsoft Teams …9.8
- CVE-2024-42005An issue was discovered in Django 5.0 before 5.0.8 and 4.2 b…7.3
- CVE-2024-42006Keyfactor AWS Orchestrator through 2.0 allows Information Di…7.5
- CVE-2024-42007SPX (aka php-spx) through 0.4.15 allows SPX_UI_URI Directory…5.8
- CVE-2024-42008A Cross-Site Scripting vulnerability in rcmail_action_mail_g…9.3
- CVE-2024-42009A Cross-Site Scripting vulnerability in Roundcube through 1.…9.3
Are you affected by CVE-2024-42002?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
