Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-25918— Regular Expression Denial of Service (ReDoS)

Quick assessment

Affected
n/a shescape
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Shescape是开源的一个用于JavaScript的简单外壳转义程序包。使用它可以将用户控制的输入转义给shell命令,以防止shell注入。 Shescape 1.5.10版本至1.6.1之前版本存在安全漏洞,该漏洞源于转义函数易受到正则表达式拒绝服务(ReDoS)的攻击。

CVSS 5.3 · Medium EPSS 1.28% · P67

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-25918

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Regular Expression Denial of Service (ReDoS)
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Shescape 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Shescape是开源的一个用于JavaScript的简单外壳转义程序包。使用它可以将用户控制的输入转义给shell命令,以防止shell注入。 Shescape 1.5.10版本至1.6.1之前版本存在安全漏洞,该漏洞源于转义函数易受到正则表达式拒绝服务(ReDoS)的攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- shescape 1.5.10 ~ unspecified -

II. Public POCs for CVE-2022-25918

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-25918

登录查看更多情报信息。

Patches & Fixes for CVE-2022-25918 (1)

Vendor Advisories for CVE-2022-25918 (1)

Other References for CVE-2022-25918 (1)

Same Patch Batch · n/a · 2022-10-27 · 20 CVEs total

CVE-2022-42054 GL.iNet GoodCloud 跨站脚本漏洞
CVE-2022-43367 IP-COM EW9 命令注入漏洞
CVE-2022-43366 IP-COM EW9 信息泄露漏洞
CVE-2022-43365 IP-COM EW9 安全漏洞
CVE-2022-43364 IP-COM EW9 安全漏洞
CVE-2022-43340 DzzOffice 跨站请求伪造漏洞
CVE-2022-42993 Password Storage Application 跨站脚本漏洞
CVE-2022-42992 Train Scheduler App 跨站脚本漏洞
CVE-2022-42991 Simple Online Public Access Catalog 跨站脚本漏洞
CVE-2022-42055 GL.iNet GoodCloud 操作系统命令注入漏洞
CVE-2022-31898 GL.iNet GL-MT300N-V2 Mango 操作系统命令注入漏洞
CVE-2022-40876 Tenda AX1803 缓冲区错误漏洞
CVE-2022-40875 Tenda AX1803 缓冲区错误漏洞
CVE-2022-40874 Tenda AX1803 缓冲区错误漏洞
CVE-2022-39978 Online Pet Shop We App 代码问题漏洞
CVE-2022-39977 Online Pet Shop We App 代码问题漏洞
CVE-2022-39976 School Activity Updates with SMS Notification SQL注入漏洞
CVE-2022-36182 Hashicorp Boundary 安全漏洞
CVE-2022-32407 Softr 跨站脚本漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2022-25918

No comments yet


Leave a comment