CVE-2021-21384
Null characters not escaped in shescape
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
shescape es un paquete de escape de shell simple para JavaScript. En shescape versiones anteriores a 1.1.3, cualquiera que use _Shescape_ para defenderse de la inyección de shell puede ser vulnerable frente a una inyección shell si el atacante logra insertar en la carga útil. Para visualizar un ejemplo, consulte el Aviso de Seguridad de GitHub al que se hace referencia. El problema ha sido solucionado en la versión 1.1.3. No son requeridos más cambios
CVSS Scores
SSVC
- Decision:-
Timeline
- 2020-12-22 CVE Reserved
- 2021-03-18 CVE Published
- 2023-06-10 EPSS Updated
- 2024-08-03 CVE Updated
- 2024-08-03 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
CAPEC
References (4)
URL | Tag | Source |
---|---|---|
https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3 | Release Notes | |
https://www.npmjs.com/package/shescape | Product |
URL | Date | SRC |
---|---|---|
https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh | 2024-08-03 |
URL | Date | SRC |
---|---|---|
https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b | 2021-04-22 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Shescape Project Search vendor "Shescape Project" | Shescape Search vendor "Shescape Project" for product "Shescape" | < 1.1.3 Search vendor "Shescape Project" for product "Shescape" and version " < 1.1.3" | node.js |
Affected
| in | Microsoft Search vendor "Microsoft" | Windows Search vendor "Microsoft" for product "Windows" | - | - |
Safe
|
Shescape Project Search vendor "Shescape Project" | Shescape Search vendor "Shescape Project" for product "Shescape" | < 1.1.3 Search vendor "Shescape Project" for product "Shescape" and version " < 1.1.3" | node.js |
Affected
| in | Opengroup Search vendor "Opengroup" | Unix Search vendor "Opengroup" for product "Unix" | - | - |
Safe
|