Vulnerability · Published Jan 6, 2022 · Assigned by GitHub_M
CVE-2022-21664SQL injection in WordPress
High 7.4
In plain English
A high-severity SQL injection in wordpress-develop from WordPress. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.7% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to lack of proper sanitization in one of the classes, there's potential for unintended SQL queries to be executed. This has been patched in WordPress version 5.8.3. Older affected versions are also fixed via security release, that go back till 4.1.34. We strongly recommend that you keep auto-updates enabled. There are no known workarounds for this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | wordpress | 5.8.3+dfsg1-1 | DEBIAN-CVE-2022-21664 |
| Debian:13 | wordpress | 5.8.3+dfsg1-1 | DEBIAN-CVE-2022-21664 |
| Debian:14 | wordpress | 5.8.3+dfsg1-1 | DEBIAN-CVE-2022-21664 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| WordPress | wordpress-develop | >= 4.1.33, < 5.8.3 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
References
- https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/ x_refsource_MISC
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-jp3p-gw8h-6x86 x_refsource_CONFIRM
- https://github.com/WordPress/wordpress-develop/commit/c09ccfbc547d75b392dbccc1ef0b4442ccd3c957 x_refsource_MISC
- DSA-5039 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2022-8472dd59ff vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-e37e1e6c7a vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20220123 [SECURITY] [DLA 2884-1] wordpress security update mailing-list, x_refsource_MLIST