loader-utils (JS package) < 3.2.1 - Regular Expression Denial of Service
Strategic Overview
- Status
- Patched in 7.3.5
- Affected Plugin
- Restricted Site Access
- Affected Version
<= 7.3.4- CVSS
- 3.7Low
- Weakness type
- CWE-400 · Uncontrolled Resource Consumption
- CVE
CVE-2022-37599
At a glance
CVE-2022-37599 is a low-severity Uncontrolled Resource Consumption vulnerability in the Restricted Site Access WordPress plugin, affecting versions <= 7.3.4. It carries a CVSS score of 3.7 (reachable over the network). Exploitation requires no authentication. The issue is fixed in version 7.3.5; sites on affected versions should update now. Disclosed October 2022.
Vulnerability Overview
The package loader-utils before 1.4.2, from 2.0.0 and before 2.0.4 as well as versions from 3.0.0 but below 3.2.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the interpolateName function due to insecure usage of regular expressions. Some WordPress plugins and themes use this dependency, however, are not vulnerable to exploitation.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, and no privileges on the target site, and no interaction from a victim user.
CWE-400: Uncontrolled Resource Consumption
Reaching this weakness in Restricted Site Access <= 7.3.4 takes a caller who can reach the endpoint. Uncontrolled resource consumption means a request can make the server do an amount of work it never bounds, because the size or repetition of the job is taken from the request rather than capped by the code.
A single caller can hold PHP workers, database connections or disk open long enough to slow the site for everyone, without needing any account or any other flaw. For Restricted Site Access the fix is 7.3.5: builds <= 7.3.4 are affected, anything from 7.3.5 onward is not.
Remediation
Update to version 7.3.5, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to Restricted Site Access: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Restricted Site Access 7.3.5 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C