Strategic Overview
- Status
- Patched in 1.1.0
- Affected Plugin
- Block for Apple Maps
- Affected Version
1.0.3- CVSS
- 5.3Medium
- Weakness type
- CWE-400 · Uncontrolled Resource Consumption
- CVE
CVE-2022-21670
At a glance
CVE-2022-21670 is a medium-severity Uncontrolled Resource Consumption vulnerability in the Block for Apple Maps WordPress plugin, affecting versions 1.0.3. It carries a CVSS score of 5.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 1.1.0; sites on affected versions should update now. Disclosed January 2022.
Vulnerability Overview
The package markdown-it 1.3.2 is vulnerable to Uncontrolled Resource Consumption in cases where special patterns with length greater than 50 thousand characters are used. As this package is used in some WordPress plugins, this could result in the impacted plugins being vulnerable.
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.
CWE-400: Uncontrolled Resource Consumption
Reaching this weakness in Block for Apple Maps 1.0.3 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 Block for Apple Maps the fix is 1.1.0: builds 1.0.3 are affected, anything from 1.1.0 onward is not.
Remediation
Update to version 1.1.0, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to Block for Apple Maps: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Block for Apple Maps 1.1.0 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Other vulnerabilities in Block for Apple Maps
- 9.8CVE-2022-25912: simple-git < 3.15.0 Remote Code Execution
CVE-2022-25912 - 8.8CVE-2022-46175: json5 <= 1.0.1 and 2.0.0-2.2.1 - Prototype Pollution
CVE-2022-46175 - 8.1CVE-2022-25860: simple-git < 3.16.0 Remote Code Execution
CVE-2022-25860 - 5.4CVE-2022-37601: loader-utils (JS package) < 2.0.3 Prototype Pollution
CVE-2022-37601 - 5.3CVE-2022-25858: Terser and 5.0.0-5.14.1 - Regular Expression DoS
CVE-2022-25858
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C