What’s Vulnerable › Vulnerabilities

CVE-2023-40185: Shescape on Windows escaping may be bypassed in threaded context

Description

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

How to fix

Upgrade to a fixed version: ericcornelissen shescape 1.7.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-40185 or the next vulnerability affects your stack