CVE-2022-25918 Detail
Current Description
The package shescape from 1.5.10 and before 1.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the escape function in index.js, due to the usage of insecure regex in the escapeArgBash function.
Analysis Description
The package shescape from 1.5.10 and before 1.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the escape function in index.js, due to the usage of insecure regex in the escapeArgBash function.
Severity
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].
Weakness Enumeration
CWE-ID | CWE Name | Source |
---|---|---|
NVD-CWE-Other | Other | NIST |
Change History
1 change records found show changes
Initial Analysis by NIST 10/28/2022 3:41:34 PM
Action | Type | Old Value | New Value |
---|---|---|---|
Added | CPE Configuration |
OR *cpe:2.3:a:shescape_project:shescape:1.5.10:*:*:*:*:node.js:*:* *cpe:2.3:a:shescape_project:shescape:1.6.0:*:*:*:*:node.js:*:* |
|
Added | CVSS V3.1 |
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
|
Added | CWE |
NIST NVD-CWE-Other |
|
Changed | Reference Type |
https://github.com/ericcornelissen/shescape/blob/main/src/unix.js%23L52 No Types Assigned |
https://github.com/ericcornelissen/shescape/blob/main/src/unix.js%23L52 Broken Link |
Changed | Reference Type |
https://github.com/ericcornelissen/shescape/commit/552e8eab56861720b1d4e5474fb65741643358f9 No Types Assigned |
https://github.com/ericcornelissen/shescape/commit/552e8eab56861720b1d4e5474fb65741643358f9 Patch, Third Party Advisory |
Changed | Reference Type |
https://github.com/ericcornelissen/shescape/releases/tag/v1.6.1 No Types Assigned |
https://github.com/ericcornelissen/shescape/releases/tag/v1.6.1 Release Notes, Third Party Advisory |
Changed | Reference Type |
https://security.snyk.io/vuln/SNYK-JS-SHESCAPE-3061108 No Types Assigned |
https://security.snyk.io/vuln/SNYK-JS-SHESCAPE-3061108 Exploit, Patch, Third Party Advisory |
Quick Info
CVE Dictionary Entry:
CVE-2022-25918
NVD Published Date:
10/27/2022
NVD Last Modified:
10/28/2022
Source:
Snyk