Descrizione
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| nodejs | node | >= 4.0 < 4.* | – |
| nodejs | node | >= 5.0 < 5.* | – |
| nodejs | node | >= 6.0 < 6.* | – |
| nodejs | node | >= 7.0 < 7.* | – |
| nodejs | node | >= 8.0 < 8.* | – |
| nodejs | node | >= 9.0 < 9.* | – |
| nodejs | node | >= 10.0 < 10.* | – |
| nodejs | node | >= 11.0 < 11.* | – |
| nodejs | node | >= 12.0 < 12.* | – |
| nodejs | node | >= 13.0 < 13.* | – |
| nodejs | node | >= 14.0 < 14.* | – |
| nodejs | node | >= 15.0 < 15.* | – |
| nodejs | node | >= 16.0 < 16.* | – |
| nodejs | node | >= 17.0 < 17.* | – |
| nodejs | node | >= 18.0 < 18.20.2 | – |
| nodejs | node | >= 19.0 < 19.* | – |
| nodejs | node | >= 20.0 < 20.12.2 | – |
| nodejs | node | >= 21.0 < 21.7.3 | – |
CWE-77 Command injection: elementi speciali non neutralizzati in un comando
Il prodotto costruisce in tutto o in parte un comando con dati provenienti dall’esterno, senza neutralizzare gli elementi speciali che possono modificarlo prima che venga eseguito.
| Ambito | Impatto |
|---|---|
| Integrità, Riservatezza, Disponibilità | Eseguire codice o comandi non autorizzati |
Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.
Tutte le 3.396 CVE di tipo CWE-77, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org