p PatchFirst

CVE-2024-52011

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 · High · EPSS 0.5% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • launch-editor

    Versions
    • < 2.9.0: Affected

    No fix published

  • vite

    Versions
    • < 5.4.9: Affected

    No fix published

  • launch-editor npm

    Affected ranges
    • SEMVER: < 2.9.0

    Update to 2.9.0

  • vite npm

    Affected ranges
    • SEMVER: < 5.4.9

    Update to 5.4.9

Original sources

Check your server →