CVE-2022-21661

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

07 Nov 2023, 03:43

Type Values Removed Values Added
References
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/', 'name': 'FEDORA-2022-e37e1e6c7a', 'tags': ['Third Party Advisory'], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/', 'name': 'FEDORA-2022-8472dd59ff', 'tags': ['Third Party Advisory'], 'refsource': 'FEDORA'}
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/ -
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/ -

10 Feb 2022, 15:09

Type Values Removed Values Added
References (MLIST) https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html - (MLIST) https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html - Mailing List, Third Party Advisory
CPE cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

23 Jan 2022, 21:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html -

21 Jan 2022, 14:49

Type Values Removed Values Added
First Time Fedoraproject fedora
Fedoraproject
CPE cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
References (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/ - (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/ - Third Party Advisory
References (MISC) http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html - Exploit, Third Party Advisory (MISC) http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html - Exploit, Third Party Advisory, VDB Entry
References (MISC) https://www.exploit-db.com/exploits/50663 - (MISC) https://www.exploit-db.com/exploits/50663 - Exploit, Third Party Advisory, VDB Entry
References (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/ - (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/ - Third Party Advisory

16 Jan 2022, 04:15

Type Values Removed Values Added
References
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/ -
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/ -

14 Jan 2022, 13:15

Type Values Removed Values Added
References
  • (MISC) https://www.exploit-db.com/exploits/50663 -

14 Jan 2022, 01:21

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
References (MISC) https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214 - (MISC) https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214 - Patch, Third Party Advisory
References (DEBIAN) https://www.debian.org/security/2022/dsa-5039 - (DEBIAN) https://www.debian.org/security/2022/dsa-5039 - Third Party Advisory
References (MISC) http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html - (MISC) http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html - Exploit, Third Party Advisory
References (CONFIRM) https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84 - (CONFIRM) https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84 - Third Party Advisory
References (MISC) https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/ - (MISC) https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/ - Release Notes, Vendor Advisory
References (MISC) https://www.zerodayinitiative.com/advisories/ZDI-22-020/ - (MISC) https://www.zerodayinitiative.com/advisories/ZDI-22-020/ - Third Party Advisory, VDB Entry
First Time Wordpress wordpress
Debian debian Linux
Debian
Wordpress
CPE cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
CWE CWE-89

13 Jan 2022, 19:15

Type Values Removed Values Added
References
  • (MISC) http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html -

11 Jan 2022, 16:15

Type Values Removed Values Added
References
  • (DEBIAN) https://www.debian.org/security/2022/dsa-5039 -

10 Jan 2022, 19:15

Type Values Removed Values Added
References
  • (MISC) https://www.zerodayinitiative.com/advisories/ZDI-22-020/ -

06 Jan 2022, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-01-06 23:15

Updated : 2023-12-10 14:09


NVD link : CVE-2022-21661

Mitre link : CVE-2022-21661

CVE.ORG link : CVE-2022-21661


JSON object : View

Products Affected

fedoraproject

  • fedora

debian

  • debian_linux

wordpress

  • wordpress
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')