Skip to main content
← All vulnerabilities
CVE-2022-25918GHSA-CR84-XVW4-QX3C

Regular Expression Denial of Service (ReDoS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.6.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a shescape

    From 1.5.10; fixed in 1.6.1

  • shescapenpm

    From 1.5.10 · fixed in 1.6.1

References 4

security.snyk.io

GitHub · ericcornelissen/shescape