CVE-2024-52011
Description
launch-editor allows users to open files with line numbers in editor from Node.js. Prior to version 2.9.0, due to the insufficient sanitization of the `file` argument in the `launchEditor`, an attacker can execute arbitrary commands on Windows by supplying a filename that contains special characters. This issue has been fixed in the `launch-editor` version 2.9.0, corresponding to vite version 5.4.9.
How to fix
- launch-editor2.9.0 or later
- vite5.4.9 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| launch-editornpm | v < 2.9.0 | 2.9.0 |
| vitenpm | v < 5.4.9 | 5.4.9 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.