CVE-2024-42002
NVD: 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. NVD: 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. NVD: This input is passed directly to the eval() function without sanitization, allowing a local user to craft and execute arbitrary code.
8.6 Severity
HIGH EPSS
0.0016 (5) KEV
-
Source-published summary
NVD: 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. NVD: 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. NVD: This input is passed directly to the eval() function without sanitization, allowing a local user to craft and execute arbitrary code.
Possible impact
Source describes code execution review · local exposure. Possible impact: A local user may be able to run code or commands on affected systems.
Affected context
Affected product or version requires source confirmation.
Remediation / advisory
Remediation reference present; patch status requires confirmation in the linked advisory.
Why it matters
Source describes code execution review · local exposure. Possible impact: A local user may be able to run code or commands on affected systems.; CVSS 8.6 (HIGH); EPSS percentile 5; not listed in KEV; Remediation reference present; patch status requires confirmation in the linked advisory; sources: NVD.
What to verify
Confirm affected product/version, vendor advisory, patch or mitigation, and exposure.
Exposure hint
local exposure
Impact tags
Urgency reasons
Source-derived note
Summary derived from NVD description; unsafe procedural detail is not shown.
Redaction metadata
- source summary used
- True
- fallback summary used
- False
- unsafe procedural detail present
- false
- raw source displayed
- false
- public summary redacted
- true
Remediation handoff
Public-safe static handoff for human/Codex remediation planning. Scan, patch, external execution, and auto remediation are disabled.
Safety note
This radar shows source-published defensive context only. Exploit procedures, exploit strings, scanner commands, and auto-remediation are not provided.