CVE-2024-21488
Vulnérabilité élevée dans network
CVSS 7.3 · Élevée
EPSS 3.3%
network•Versions : <0.7.0, 0, <*
Description
Versions of the package network before 0.7.0 are vulnerable to Arbitrary Command Injection due to use of the child_process exec function without input sanitization. If (attacker-controlled) user input is given to the mac_address_for function of the package, it is possible for the attacker to execute arbitrary commands on the operating system that this package is being run on.
Gravité et risque d'exploitation
CVE-2024-21488 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 3.30 %, ce qui la place devant 88.4 % des CVE référencées.
Que faire ?
- Vérifiez si network (versions <0.7.0, 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://security.snyk.io/vuln/SNYK-JS-NETWORK-6184371
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-11426552
- https://gist.github.com/icemonster/282ab98fb68fc22aac7c576538f6369c
- https://github.com/tomas/network/commit/72c523265940fe279eb0050d441522628f8988e5
- https://github.com/tomas/network/commit/6ec8713580938ab4666df2f2d0f3399891ed2ad7
- https://github.com/tomas/network/commit/5599ed6d6ff1571a5ccadea775430c131f381de7
