CVE-2024-8946
Vulnérabilité élevée dans MicroPython
Description
A vulnerability was found in MicroPython 1.23.0. It has been classified as critical. Affected is the function mp_vfs_umount of the file extmod/vfs.c of the component VFS Unmount Handler. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 29943546343c92334e8518695a11fc0e2ceea68b. It is recommended to apply a patch to fix this issue. In the VFS unmount process, the comparison between the mounted path string and the unmount requested string is based solely on the length of the unmount string, which can lead to a heap buffer overflow read.
Gravité et risque d'exploitation
CVE-2024-8946 obtient un score CVSS de 7.3/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 1.01 %, ce qui la place devant 62.6 % des CVE référencées.
Que faire ?
- Vérifiez si MicroPython (versions 1.23.0) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
Références
- https://vuldb.com/?id.277764
- https://vuldb.com/?ctiid.277764
- https://vuldb.com/?submit.409312
- https://github.com/micropython/micropython/issues/13006
- https://github.com/micropython/micropython/issues/13006#issuecomment-1820309455
- https://github.com/micropython/micropython/commit/29943546343c92334e8518695a11fc0e2ceea68b
