High severity · published Aug 23, 2023
CVE-2023-40185
shescape is simple shell escape library for JavaScript
8.6
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 52% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SH
Shescape · Shescape Project
before 1.7.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-40185
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-40185
Patch
https://github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63
Patch
https://github.com/ericcornelissen/shescape/pull/1142
Release Notes
https://github.com/ericcornelissen/shescape/releases/tag/v1.7.4
Exploit
https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549
More from Shescape
9.8
CVE-2022-31179
Insufficient escaping of line feeds for CMD in shescape
9.8
CVE-2022-31180
Insufficient escaping of whitespace in shescape
7.8
CVE-2021-21384
shescape is a simple shell escape package for JavaScript
7.5
CVE-2022-25918
Regular Expression Denial of Service (ReDoS)
7.5
CVE-2022-36064
Shescape is a shell escape package for JavaScript
