Description (CNA)
launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor did not escape % on Windows when passing an argument to cmd. When an environment variable contained a malicious value, it was possible that that content to be executed. This vulnerability is fixed in 2.14.2.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| vitejs / launch-editor | affected < 2.14.2 |
| vitejs / vite | affected >= 8.3.0, < 8.3.3; affected >= 8.2.0, < 8.2.4; affected >= 8.0.0, < 8.1.6; affected >= 7.0.0, < 7.3.7; affected < 6.4.4 |
| vitejs / vite-plus | affected < 1.1.0 |
CWE
CWE-78
References
- https://github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv
- https://github.com/vitejs/launch-editor/pull/155
- https://github.com/vitejs/launch-editor/commit/3c2f9bf2ff8fe63d056a8f9cc52d825b66ca79fc
- https://github.com/vitejs/launch-editor/releases/tag/v2.14.2
ADP enrichment
No English description supplied.
No references supplied.