CVE-2024-52011
launch-editor allows users to open files with line numbers in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e
- github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf
- github.com/yyx990803/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf
- nvd.nist.gov/vuln/detail/CVE-2024-52011
- github.com/advisories/GHSA-c27g-q93r-2cwf
- access.redhat.com/security/cve/CVE-2024-52011
- bugzilla.redhat.com/show_bug.cgi?id=2483853
- security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-52011.json
- nvd.nist.gov/vuln/detail/CVE-2024-52011
- cve.org/CVERecord?id=CVE-2024-52011
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.