CVE-2022-25918
published medium CVSS 3.1 · 5.3Regular Expression Denial of Service (ReDoS)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | shescape1.5.10 to < unspecified · unspecified to < 1.6.1 | Affected | Not stated | snyk |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | shescape | 1.5.10 to < unspecified (affected · custom)unspecified to < 1.6.1 (affected · custom) | snyk · cna |
Weaknesses
2- Regular Expression Denial of Service (ReDoS)
- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
References
4Provider assertions
3snyk · cna
Regular Expression Denial of Service (ReDoS)
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0ebfb1c7e4ff605c28b97b222e7426a0fb8d2fee362c35a6e6721d26e399d33d
- Ingested
- 23 Sep 2026, 07:59:13 UTC
- Source record
- Official CVE record