CVE-2021-21384
MEDIUMshescape < 1.1.3 - Command Injection via Newline Character
Title source: llmDescription
shescape is a simple shell escape package for JavaScript. In shescape before version 1.1.3, anyone using _Shescape_ to defend against shell injection may still be vulnerable against shell injection if the attacker manages to insert a into the payload. For an example see the referenced GitHub Security Advisory. The problem has been patched in version 1.1.3. No further changes are required.
References (4)
Core 4
Core References
Exploit, Third Party Advisory x_refsource_confirm
https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh
Patch, Third Party Advisory x_refsource_misc
https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3
Product x_refsource_misc
https://www.npmjs.com/package/shescape
Scores
CVSS v3
6.3
EPSS
0.0057
EPSS Percentile
42.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N
Details
CWE
CWE-88
Status
published
Products (2)
npm/shescape
0 - 1.1.3npm
shescape_project/shescape
< 1.1.3
Published
Mar 19, 2021
Tracked Since
Feb 18, 2026