Description (CNA)
navi through 2.24.0 fails to properly escape cheatsheet variable values when substituting them into shell commands. Attackers can inject shell metacharacters through crafted file names in suggestion command directories to execute arbitrary commands with victim privileges.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| denisidoro / navi | affected 0 through 2.24.0 |
CWE
CWE-78
References
- https://github.com/denisidoro/navi/issues/1037
- https://github.com/denisidoro/navi/blob/5515367dc8a2a561d2d82b8352f729b1da4120d3/src/commands/core/actor.rs#L159-L193
- https://github.com/denisidoro/navi/blob/5515367dc8a2a561d2d82b8352f729b1da4120d3/src/common/shell.rs#L39-L50
- https://github.com/denisidoro/navi
- https://www.vulncheck.com/advisories/navi-through-2.24.0-os-command-injection-via-cheatsheet-variables
ADP enrichment
No English description supplied.
No references supplied.