CVE-2023-22622: WordPress through 6.1.1 depends on unpredictable client visits to cause wp-cron.php execution and the resulting security updates, and the source code describes "the scenario where a site may not...
Medium CVSS 5.3
- CVE id
- CVE-2023-22622
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| WordPress Runtimes and servers |
<= 6.1.1 | after 6.1.1 |
How to fix it
Upgrade WordPress to a release newer than 6.1.1.
wp core version
- Update WordPress core to the patched release (Dashboard > Updates, wp core update, or the wordpress image tag).
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
WordPress through 6.1.1 depends on unpredictable client visits to cause wp-cron.php execution and the resulting security updates, and the source code describes "the scenario where a site may not receive enough visits to execute scheduled tasks in a timely manner," but neither the installation guide nor the security guide mentions this default behavior, or alerts the user about security risks on installations with very few visits.
References
- CVE-2023-22622 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2023-22622
- Web: https://developer.wordpress.org/plugins/cron/
- Web: https://github.com/WordPress/WordPress/blob/dca7b5204b5fea54e6d1774689777b359a9222ab/wp-cron.php#L5-L8
- Web: https://medium.com/%40thecpanelguy/the-nightmare-that-is-wpcron-php-ae31c1d3ae30
- Web: https://patchstack.com/articles/solving-unpredictable-wp-cron-problems-addressing-cve-2023-22622/
- Web: https://wordpress.org/about/security/
- Web: https://wordpress.org/support/article/how-to-install-wordpress/
- Web: https://www.tenable.com/plugins/was/113449
- Web: https://developer.wordpress.org/plugins/cron/
- Web: https://github.com/WordPress/WordPress/blob/dca7b5204b5fea54e6d1774689777b359a9222ab/wp-cron.php#L5-L8
- Web: https://medium.com/%40thecpanelguy/the-nightmare-that-is-wpcron-php-ae31c1d3ae30
- Web: https://patchstack.com/articles/solving-unpredictable-wp-cron-problems-addressing-cve-2023-22622/
- Web: https://wordpress.org/about/security/
- Web: https://wordpress.org/support/article/how-to-install-wordpress/
- Web: https://www.tenable.com/plugins/was/113449
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.