Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-40185 EUVD-2023-2309GHSA-j55r-787p-m549

Shescape on Windows escaping may be bypassed in threaded context

Published Aug 23, 2023 · Updated Sep 30, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
ericcornelissen shescape < 1.7.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm shescape < 1.7.4 1.7.4 GHSA-j55r-787p-m549

References