7.5High

CVE-2024-52011launch-editor vulnerable to command injection via the crafted request on Windows

vitejs launch-editor; vitejs vite; Red Hat Cluster Observability Operator 1.5.0; Red Hat Cryostat 4 Published: (5 months ago)

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.

Weakness (CWE): CWE-77CWE-88

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

References and patches