Vulnerability
CVE-2024-52011
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.
49 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-2227-mq3r-6565
- CGA-28cg-m49h-vmp3
- CGA-38q3-46x4-mfm8
- CGA-3953-8fj2-hmgp
- CGA-4jqg-vfrr-9r47
- CGA-524r-wrjj-57mc
- CGA-55wh-454m-q2v8
- CGA-5h5f-w4m8-rxm3
- CGA-5jfg-g89q-2pwh
- CGA-5mmj-p28j-wwrw
- CGA-5wc8-8jvw-cvm8
- CGA-682c-8m9j-gqmm
- CGA-6rcf-xvp4-v2mp
- CGA-7jr3-67m2-jgwx
- CGA-7wmm-6mg9-v459
- CGA-8r37-vcf5-7hp9
- CGA-964w-9qc4-78m3
- CGA-9wxp-m9m3-h88h
- CGA-c8p5-xwf4-gjgf
- CGA-hq9j-mvf3-rw6q
- CGA-hv33-hhrw-8g5p
- CGA-j386-rqf4-5jjq
- CGA-j3wx-m578-5vj6
- CGA-jmvq-q2j5-4fqc
- CGA-m59w-47pm-5p5g
- CGA-m8w9-hmcc-jw5p
- CGA-mf9j-4hrj-m6f4
- CGA-mg29-8w2m-r7mh
- CGA-mq5r-2xrr-vgh6
- CGA-mvp3-9fqv-4r8j
- CGA-phhx-qcfv-m3f7
- CGA-pjcf-76pp-82jc
- CGA-prpj-cm5f-2p28
- CGA-pwg5-jv26-665c
- CGA-qvqc-c22m-j7f5
- CGA-r2rp-fqm2-39gx
- CGA-r7rf-fj8m-qcvf
- CGA-rm3x-p467-f7v2
- CGA-rx9q-h7wj-x3fc
- CGA-v9wm-jcwj-f6c6
- CGA-vf69-7xj3-2w68
- CGA-vg6h-gc5q-mppw
- CGA-vqjv-vg8w-86fc
- CGA-w273-qc8h-mp9m
- CGA-w7xc-fhxc-4r4h
- CGA-w82r-gxgf-q67j
- CGA-wrmf-9q57-8f45
- CGA-xgqc-8f79-4x42
-
GHSA-c27g-q93r-2cwf
launch-editor vulnerable to command injection via the crafted request on Windows
References
- https://github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e
- https://github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf
- https://access.redhat.com/errata/RHSA-2026:34342
- https://access.redhat.com/security/cve/CVE-2024-52011
- https://bugzilla.redhat.com/show_bug.cgi?id=2483853
- https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-52011.json