Skip to content

CVE-2021-21384 Null characters not escaped in shescape

HighCVSS 7.8 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm shescape(npm) < 1.1.3 1.1.3 Fixed
shescape project shescape < 1.1.3 1.1.3 Fixed
ericcornelissen shescape = < 1.1.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm shescape(npm) < 1.1.3 1.1.3
shescape project shescape < 1.1.3 1.1.3
ericcornelissen shescape = < 1.1.3 No fix listed

References