CVE-2021-24377: autoptimize Race Condition
Vulnerability summary
CVE-2021-24377 is a high (CVSS 8.1) Race Condition vulnerability in autoptimize. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 67.2% of scored vulnerabilities. 1 public exploit is recorded. Fixed in 2.7.8.
Timeline
- 21-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- wordfenceSource8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.18%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
0.00 pp
From 1.18% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Autoptimize1 product
- autoptimize< 2.7.8
Unknown1 product
- autoptimize≥ 2.7.8, < 2.7.8
Wordpress1 product
- autoptimize< 2.7.8
3 vendors · 3 products
References
2 links- wpscan.com/vulnerability/85c0a564-2e56-413d-bc3a-1039343207e4X Refsource CONFIRMExploitThird Party Advisory