CVEvulnerability
CVE-2023-40185
8.6 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-08-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 8.6 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
- Weaknesses
- CWE-150
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 configurations
• shescape project shescape (< 1.7.4)
Related
Weakness · CWE (1)
- CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences weakness
References
- https://github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63 Patch
- https://github.com/ericcornelissen/shescape/pull/1142 Patch
- https://github.com/ericcornelissen/shescape/releases/tag/v1.7.4 Release Notes
- https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549 Exploit, Patch, Vendor Advisory
- https://github.com/ericcornelissen/shescape/commit/0b976dab645abf45ffd85e74a8c6e51ee2f42d63 Patch
- https://github.com/ericcornelissen/shescape/pull/1142 Patch
- https://github.com/ericcornelissen/shescape/releases/tag/v1.7.4 Release Notes
- https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j55r-787p-m549 Exploit, Patch, Vendor Advisory