Lucene search

K
cve[email protected]CVE-2022-25918
HistoryOct 27, 2022 - 10:15 a.m.

CVE-2022-25918

2022-10-2710:15:10
CWE-1333
web.nvd.nist.gov
66
4
cve-2022-25918
shescape
regular expression denial of service
redos
index.js
escape function
insecure regex

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

0.002 Low

EPSS

Percentile

59.0%

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 configurations

NVD
Node
shescape_projectshescapeMatch1.5.10node.js
OR
shescape_projectshescapeMatch1.6.0node.js

CNA Affected

[
  {
    "vendor": "n/a",
    "product": "shescape",
    "versions": [
      {
        "version": "1.5.10",
        "status": "affected",
        "lessThan": "unspecified",
        "versionType": "custom"
      },
      {
        "version": "unspecified",
        "lessThan": "1.6.1",
        "status": "affected",
        "versionType": "custom"
      }
    ]
  }
]

Social References

More

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

0.002 Low

EPSS

Percentile

59.0%

Related for CVE-2022-25918