Security mailing lists by PureSourceCode

CVE-2022-25918

HIGH 7.5CVSS 3.1

Inefficient Regular Expression Complexity in shescape

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.

Published
27 Oct 2022
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-1333
Also known as
GHSA-cr84-xvw4-qx3c
Sources
NVDJSONOSV GHSA-cr84-xvw4-qx3cJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD shescape_project shescape
cpe:2.3:a:shescape_project:shescape:1.5.10:*:*:*:*:node.js:*:*
= 1.5.10
NVD shescape_project shescape
cpe:2.3:a:shescape_project:shescape:1.6.0:*:*:*:*:node.js:*:*
= 1.6.0
OSV npm shescape >= 1.5.10, < 1.6.1 1.6.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 27 Oct 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Oct 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.