Bug 2039317 (CVE-2022-21664) - CVE-2022-21664 wordpress: SQL injection due to improper sanitization in WP_Meta_Query
Summary: CVE-2022-21664 wordpress: SQL injection due to improper sanitization in WP_Me...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-21664
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2039318 2039319
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-11 13:39 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-01-11 15:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-11 15:32:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2022-01-11 13:39:47 UTC
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.

References:
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-jp3p-gw8h-6x86
https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/

Upstream patch:
https://github.com/WordPress/wordpress-develop/commit/c09ccfbc547d75b392dbccc1ef0b4442ccd3c957

Comment 1 Guilherme de Almeida Suckevicz 2022-01-11 13:40:04 UTC
Created wordpress tracking bugs for this issue:

Affects: epel-7 [bug 2039319]
Affects: fedora-all [bug 2039318]

Comment 2 Product Security DevOps Team 2022-01-11 15:32:50 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.