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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- github.com exploit third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com release-notes third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- www.npmjs.com product
- github.com