CVE-2024-31211

NameCVE-2024-31211
DescriptionWordPress is an open publishing platform for the Web. Unserialization of instances of the `WP_HTML_Token` class allows for code execution via its `__destruct()` magic method. This issue was fixed in WordPress 6.4.2 on December 6th, 2023. Versions prior to 6.4.0 are not affected.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
wordpress (PTS)jessie, jessie (lts)4.1.35+dfsg-0+deb8u1vulnerable
stretch (security), stretch (lts), stretch4.7.23+dfsg-0+deb9u1vulnerable
buster (security), buster, buster (lts)5.0.21+dfsg1-0+deb10u1fixed
bullseye (security), bullseye5.7.11+dfsg1-0+deb11u1fixed
bookworm (security), bookworm6.1.6+dfsg1-0+deb12u1fixed
sid, trixie6.6.1+dfsg1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
wordpresssourcejessie(unfixed)end-of-life
wordpresssourcestretch(unfixed)end-of-life
wordpresssourcebuster(not affected)
wordpresssourcebullseye(not affected)
wordpresssourcebookworm(not affected)
wordpresssource(unstable)6.4.2+dfsg1-1

Notes

[bookworm] - wordpress <not-affected> (Vulnerable code not present)
[bullseye] - wordpress <not-affected> (Vulnerable code not present)
[buster] - wordpress <not-affected> (Vulnerable code not present)
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653
https://wordpress.org/documentation/wordpress-version/version-6-4-2/#installation-update-information
https://www.wordfence.com/blog/2023/12/psa-critical-pop-chain-allowing-remote-code-execution-patched-in-wordpress-6-4-2/

Search for package or bug name: Reporting problems