Medium severity · published Jun 23, 2023
CVE-2023-35931
Shescape is a simple shell escape library for JavaScript
4.3
CVSS
0.8%
EPSS
No
On KEV
Description
Shescape is a simple shell escape library for JavaScript. An attacker may be able to get read-only access to environment variables. This bug has been patched in version 1.7.1.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 57% 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.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-35931
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-35931
Patch
https://github.com/ericcornelissen/shescape/commit/d0fce70f987ac0d8331f93cb45d47e79436173ac
Patch
https://github.com/ericcornelissen/shescape/pull/982
Release Notes
https://github.com/ericcornelissen/shescape/releases/tag/v1.7.1
Exploit
https://github.com/ericcornelissen/shescape/security/advisories/GHSA-3g7p-8qhx-mc8r
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
8.6
CVE-2023-40185
shescape is simple shell escape library for JavaScript
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)
