CVE-2023-40185
Shescape Project Shescape vulnerability
shescape is simple shell escape library for JavaScript. This may impact users that use Shescape on Windows in a threaded context. The vulnerability can result in Shescape escaping (or quoting) for the wrong shell, thus allowing attackers to bypass protections depending on the combination of expected and used shell. This bug has been patched in version 1.7.4.
Affected products
Shescape. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Shescape Project Shescape 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/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549 · Exploit
- github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63 · Patch
- github.com/ericcornelissen/shescape/pull/1142 · Patch
- github.com/ericcornelissen/shescape/releases/tag/v1.7.4
- nvd.nist.gov/vuln/detail/CVE-2023-40185
- cve.org/CVERecord?id=CVE-2023-40185
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.