CVE-2022-25918

    Dashboard / Vulnerabilities / CVE-2022-25918

    CVE-2022-25918

    Published: 27 Oct 2022Last Modified: 28 Oct 2026

    Summary: Regular Expression Denial of Service (ReDoS)

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 656ecbc798cb21ab95449d3fb4838a36dd09b6d8

    Affected versions

    1.5.10

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2022-25918 | CVE-DB