CVE-2022-25918
Last modified
CVE-2022-25918 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 1.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Shescape Project | Shescape | 1.5.10 |
| Shescape Project | Shescape | 1.6.0 |
References
- https://github.com/ericcornelissen/shescape/commit/552e8eab56861720b1d4e5474fb65741643358f9Patch, Third Party Advisory
- https://github.com/ericcornelissen/shescape/releases/tag/v1.6.1Release Notes, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SHESCAPE-3061108Exploit, Patch, Third Party Advisory
- https://github.com/ericcornelissen/shescape/commit/552e8eab56861720b1d4e5474fb65741643358f9Patch, Third Party Advisory
- https://github.com/ericcornelissen/shescape/releases/tag/v1.6.1Release Notes, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SHESCAPE-3061108Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25918?
How severe is CVE-2022-25918?
How do I fix CVE-2022-25918?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-2591A vulnerability classified as critical has been found in TEM…7.5
- CVE-2022-25912The package simple-git before 3.15.0 are vulnerable to Remot…9.8
- CVE-2022-25914The package com.google.cloud.tools:jib-core before 0.22.0 ar…9.8
- CVE-2022-25915Improper access control vulnerability in ELECOM LAN routers …8.8
- CVE-2022-25916Versions of the package mt7688-wiscan before 0.8.3 are vulne…7.8
- CVE-2022-25917Uncaught exception in the firmware for some Intel(R) Server …4.4
- CVE-2022-2592A lack of length validation in Snippet descriptions in GitLa…6.5
- CVE-2022-25920Rejected reason: This candidate was in a CNA pool that was n…
- CVE-2022-25921All versions of package morgan-json are vulnerable to Arbitr…9.8
- CVE-2022-25922Power Line Communications PLC4TRUCKS J2497 trailer brake con…9.1
- CVE-2022-25923Versions of the package exec-local-bin before 1.2.0 are vuln…9.8
- CVE-2022-25926Versions of the package window-control before 1.4.5 are vuln…7.8
Are you affected by CVE-2022-25918?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
