ansi-regex >=2.1.1 <3.0.1 >=4.0.0 <4.1.1 >=5.0.0 <5.0.1 >=6.0.0 <6.0.1 - Regular Expression Denial of Service (ReDoS)
Strategic Overview
- Status
- Patched in 1.0.5
- Affected Plugin
- Insert Special Characters
- Affected Version
<= 1.0.4- CVSS
- 7.5High
- Weakness type
- CWE-1333 · Inefficient Regular Expression Complexity
- CVE
CVE pending
At a glance
This record tracks a high-severity Inefficient Regular Expression Complexity vulnerability in the Insert Special Characters WordPress plugin, affecting versions <= 1.0.4. It carries a CVSS score of 7.5 (reachable over the network; low attack complexity; high availability impact). Exploitation requires no authentication. The issue is fixed in version 1.0.5; sites on affected versions should update now. Disclosed September 2021.
Vulnerability Overview
ansi-regex is vulnerable to Inefficient Regular Expression Complexity. Some WordPress plugins and themes use this dependency though that doesn’t necessarily mean the plugin itself is vulnerable to exploitation.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on availability.
CWE-1333: Inefficient Regular Expression Complexity
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Remediation
Update to version 1.0.5, or a newer patched version
How does WordSec protect against this?
The fix is the thing that ends this: Insert Special Characters 1.0.5 closes this, and updating the plugin is the step that ends it.
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Insert Special Characters
- 9.8CVE-2022-25912: simple-git < 3.15.0 Remote Code Execution
CVE-2022-25912 - 9.8Minimist <= 1.2.5 Prototype Pollution
- 7.8CVE-2021-43138: async <= 2.6.3 and 3-3.2.2 - Prototype Pollution
CVE-2021-43138 - 7.5CVE-2022-24775: guzzlehttp/psr7 and 2.0.0-2.1.0 - Improper Input
CVE-2022-24775 - 5.4CVE-2022-37601: loader-utils (JS package) < 2.0.3 Prototype Pollution
CVE-2022-37601 - 3.7CVE-2022-37599: loader-utils (JS package) Regular Expression DoS
CVE-2022-37599 - 3.7CVE-2022-37603: loader-utils (JS package) Regular Expression DoS
CVE-2022-37603
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C