- Accueil
- Vulnérabilités
- CVE-2024-42002
CVE-2024-42002
Unsafe use of eval() method in ros2 topic hz tool
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Open Source Robotics Foundation (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Robot Operating System 2 (ROS 2) | Versions non précisées | — | CNA (éditeur ou attributeur) |
Correctif
Correctifsource officielle
No fixed release is available at the time of publication. A fix is proposed upstream in https://github.com/ros2/ros2cli/pull/1001.
Source : CNA (éditeur ou attributeur)
Contournement
Contournementsource officielle
Do not pass untrusted or unreviewed input to the --filter option of 'ros2 topic hz'.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:security@ubuntu.com)- Faiblesse
- CWE-94 · Injection de commandes / code