vulnerability
WordPress Plugin: autoptimize: CVE-2021-24377: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 7 | (AV:N/AC:M/Au:N/C:P/I:P/A:P) | Oct 9, 2020 | May 15, 2025 | May 4, 2026 |
Severity
7
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
Published
Oct 9, 2020
Added
May 15, 2025
Modified
May 4, 2026
Description
The Autoptimize WordPress plugin before 2.7.8 attempts to remove potential malicious files from the extracted archive uploaded via the 'Import Settings' feature, however this is not sufficient to protect against RCE as a race condition can be achieved in between the moment the file is extracted on the disk but not yet removed. It is a bypass of CVE-2020-24948.
Solution
autoptimize-plugin-cve-2021-24377
References
- https://www.cve.org/CVERecord?id=CVE-2021-24377
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ef9a6ef5-368e-40df-9a17-2779e453dfcc?source=api-prod
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-11289
- CVE-2021-24377
- https://attackerkb.com/topics/CVE-2021-24377
- CWE-362
- EUVD-EUVD-2021-11289
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.