CVE-2024-52011
CVE-2024-52011 · launch-editor vulnerable to command injection via the crafted request on Windows
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 7.5 · Élevée · EPSS 0,5% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: node
Produits et versions concernés
launch-editor
- Versions du logiciel
- < 2.9.0: Concernée
Aucun correctif publié
vite
- Versions du logiciel
- < 5.4.9: Concernée
Aucun correctif publié
launch-editor npm
- Plages de versions concernées
- SEMVER: < 2.9.0
Mettez à jour vers 2.9.0
vite npm
- Plages de versions concernées
- SEMVER: < 5.4.9
Mettez à jour vers 5.4.9
Sources originales
- https://github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf
- https://github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e
- 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
- https://access.redhat.com/errata/RHSA-2026:34342
- https://nvd.nist.gov/vuln/detail/CVE-2024-52011