Description (CNA)
The backmeup npm package assembles shell command strings by directly concatenating its option values (name, source, destination, filter) - e.g. cmd = "mkdir -p " + path.join(info.destination, info.name) + "; " - and executes the resulting string through a shell via ssh2-exec (locally via child_process, or remotely via SSH when an ssh handle is supplied), rather than using execFile/spawn with an argument array.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| adaltas / backmeup | affected 0 through 0.0.2 |
CWE
CWE-78
References
ADP enrichment
No English description supplied.
No references supplied.