---
title: "CVE-2022-21664"
canonical: "https://kb.cynergy.app/space/MD/923631759/CVE-2022-21664"
format: markdown
---
**Description**

Certain versions of [Debian Linux](https://cve.report/software/debian/debian_linux) from [Debian](https://cve.report/vendor/debian) contain the following vulnerability:

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.


**Published On**

01/06/2022

**Updated On**

04/12/2022

**Trending**

FALSE

**CWE**

<u>[CWE-20](http://cwe.mitre.org/data/definitions/20.html)</u>

**Exploit**

 

**Mitigation:**

![image](media://871036a1-9f47-477f-8ca2-6b965dc64fea)

Cynergy has an automated mitigation capability that requires integration with your WAF provider.

Once integrated, you can request “Protect with WAF”

This will move the exposed asset behind WAF protection

<span style="color: #97a0af">**Note: **</span><span style="color: #97a0af">Policies configuration should be defined separately</span>

 

**Remediation**

- [150455](https://cve.report/qid/150455) WordPress SQL Injection Vulnerability: Security Update 5.8.3 (CVE-2022-21664)
- [178992](https://cve.report/qid/178992) Debian Security Update for wordpress (DSA 5039-1)
- [179020](https://cve.report/qid/179020) Debian Security Update for wordpress (DLA 2884-1)
- [282249](https://cve.report/qid/282249) Fedora Security Update for wordpress (FEDORA-2022-e37e1e6c7a)
- [282250](https://cve.report/qid/282250) Fedora Security Update for wordpress (FEDORA-2022-8472dd59ff)
- [730330](https://cve.report/qid/730330) WordPress Multiple Security Vulnerabilities (prior to 5.8.3)
- [730333](https://cve.report/qid/730333) WordPress Prior to 4.1.34 and 5.8.3 SQL Injection Vulnerability

 

**Reference**

|  |  |  |
| --- | --- | --- |
| [SECURITY] [DLA 2884-1] wordpress security update | [http://lists.debian.org](http://lists.debian.org)   
<span style="color: #ffffff">**text/html**</span> | ![URL Logo]() |
| [SECURITY] Fedora 34 Update: wordpress-5.8.3-1.fc34 - package-announce - Fedora Mailing-Lists | [http://lists.fedoraproject.org](http://lists.fedoraproject.org)   
<span style="color: #ffffff">**text/html**</span> | ![URL Logo]() |
| Debian -- Security Information -- DSA-5039-1 wordpress | [http://www.debian.org](http://www.debian.org)   
<span style="color: #ffffff">**Depreciated Link**</span>  
<span style="color: #ffffff">**text/html**</span> | ![URL Logo]() |
| WordPress: SQL injection due to improper sanitization in WP_Meta_Query · Advisory · WordPress/wordpress-develop · GitHub | [http://github.com](http://github.com)   
<span style="color: #ffffff">**text/html**</span> | ![URL Logo]() |
| News – WordPress 5.8.3 Security Release – [WordPress.org](http://WordPress.org) | [http://wordpress.org](http://wordpress.org)   
<span style="color: #ffffff">**text/html**</span> | ![URL Logo]() |
| [SECURITY] Fedora 35 Update: wordpress-5.8.3-1.fc35 - package-announce - Fedora Mailing-Lists | [http://lists.fedoraproject.org](http://lists.fedoraproject.org)   
<span style="color: #ffffff">**text/html**</span> | ![URL Logo]() |
| Query: Improve sanitization within `WP_Meta_Query`. · WordPress/wordpress-develop@c09ccfb · GitHub | [http://github.com](http://github.com)   
<span style="color: #ffffff">**text/html**</span> | ![URL Logo]() |