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.
Remediation
References
https://github.com/ericcornelissen/shescape/pull/1142
https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549
https://github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63
https://github.com/ericcornelissen/shescape/releases/tag/v1.7.4
Related Vulnerabilities
CVE-2021-3645 Vulnerability in npm package @viking04/merge
CVE-2023-46998 Vulnerability in npm package bootbox
CVE-2021-41183 Vulnerability in maven package org.webjars.bower:jquery-ui
CVE-2023-40312 Vulnerability in maven package org.opennms:opennms-webapp
CVE-2016-1000236 Vulnerability in npm package cookie-signature