CVE-2022-21661
wordpress - security update
Description
WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to improper sanitization in WP_Query, there can be cases where SQL injection is possible through plugins or themes that use it in a certain way. This has been patched in WordPress version 5.8.3. Older affected versions are also fixed via security release, that go back till 3.7.37. We strongly recommend that you keep auto-updates enabled. There are no known workarounds for this vulnerability.
How to fix CVE-2022-21661
To remediate CVE-2022-21661, upgrade the affected package to a fixed version below.
- —upgrade to 3.7.37 or later
- —upgrade to 3.7.37 or later
- —upgrade to 5.7.5+dfsg1-0+deb11u1 or later
- —upgrade to 4.7.22+dfsg-0+deb9u1 or later
- —upgrade to 5.0.15+dfsg1-0+deb10u1 or later
Is CVE-2022-21661 being exploited?
Likely — EPSS is 90.4%, placing CVE-2022-21661 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (5)
- >= 3.7.0, < 3.7.37, >= 3.8.0, < 3.8.37, >= 3.9.0, < 3.9.35, >= 4.0.0, < 4.0.34, >= 4.1.0, < 4.1.34, >= 4.2.0, < 4.2.31, >= 4.3.0, < 4.3.27, >= 4.4.0, < 4.4.26, >= 4.5.0, < 4.5.25, >= 4.6.0, < 4.6.22, >= 4.7.0, < 4.7.22, >= 4.8.0, < 4.8.18, >= 4.9.0, < 4.9.19, >= 5.0.0, < 5.0.15, >= 5.1.0, < 5.1.12, >= 5.2.0, < 5.2.14, >= 5.3.0, < 5.3.11, >= 5.4.0, < 5.4.9, >= 5.5.0, < 5.5.8, >= 5.6.0, < 5.6.7, >= 5.7.0, < 5.7.5, >= 5.8.0, < 5.8.3
- >= 3.7.0, < 3.7.37, >= 3.8.0, < 3.8.37, >= 3.9.0, < 3.9.35, >= 4.0.0, < 4.0.34, >= 4.1.0, < 4.1.34, >= 4.2.0, < 4.2.31, >= 4.3.0, < 4.3.27, >= 4.4.0, < 4.4.26, >= 4.5.0, < 4.5.25, >= 4.6.0, < 4.6.22, >= 4.7.0, < 4.7.22, >= 4.8.0, < 4.8.18, >= 4.9.0, < 4.9.19, >= 5.0.0, < 5.0.15, >= 5.1.0, < 5.1.12, >= 5.2.0, < 5.2.14, >= 5.3.0, < 5.3.11, >= 5.4.0, < 5.4.9, >= 5.5.0, < 5.5.8, >= 5.6.0, < 5.6.7, >= 5.7.0, < 5.7.5, >= 5.8.0, < 5.8.3
- from 0, < 5.7.5+dfsg1-0+deb11u1
- from 0, < 4.7.22+dfsg-0+deb9u1
- from 0, < 5.0.15+dfsg1-0+deb10u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (13)
- ADVISORYsecurity-tracker.debian.org/tracker/CVE-2022-21661
- WEBpacketstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html
- WEBgithub.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214
- WEBgithub.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84