CVE-2022-21664

NameCVE-2022-21664
DescriptionWordPress 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2884-1, DSA-5039-1
NVD severitymedium
Debian Bugs1003243

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
wordpress (PTS)stretch4.7.5+dfsg-2+deb9u6vulnerable
stretch (security)4.7.22+dfsg-0+deb9u1fixed
buster5.0.12+dfsg1-0+deb10u1vulnerable
buster (security)5.0.15+dfsg1-0+deb10u1fixed
bullseye5.7.3+dfsg1-0+deb11u1vulnerable
bullseye (security)5.7.5+dfsg1-0+deb11u1fixed
bookworm, sid5.8.3+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
wordpresssourcestretch4.7.22+dfsg-0+deb9u1DLA-2884-1
wordpresssourcebuster5.0.15+dfsg1-0+deb10u1DSA-5039-1
wordpresssourcebullseye5.7.5+dfsg1-0+deb11u1DSA-5039-1
wordpresssource(unstable)5.8.3+dfsg1-11003243

Notes

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

Search for package or bug name: Reporting problems