CVE-2021-21384
CVSS V2 Medium 4.6
CVSS V3 High 7.8
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.
Overview
- CVE ID
- CVE-2021-21384
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-03-19T00:15:11
- Last Modified Date
- 2021-04-22T17:49:38
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
AND | ||||
cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:node.js:*:* | 1 | OR | 1.1.3 | |
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* | 0 | OR | ||
cpe:2.3:o:opengroup:unix:-:*:*:*:*:*:*:* | 0 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- LOCAL
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 4.6
- Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3 | Release Notes Third Party Advisory |
https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b | Patch Third Party Advisory |
https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh | Exploit Third Party Advisory |
https://www.npmjs.com/package/shescape | Product |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21384 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21384 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:14:45 | Added to TrackCVE | |||
2022-12-06 00:03:49 | 2021-03-19T00:15Z | 2021-03-19T00:15:11 | CVE Published Date | updated |
2022-12-06 00:03:49 | 2021-04-22T17:49:38 | CVE Modified Date | updated | |
2022-12-06 00:03:49 | Analyzed | Vulnerability Status | updated |