{"id":"CVE-2021-24377","aliases":["CVE-2021-24377"],"related":[],"kind":"vulnerability","state":"published","title":"Autoptimize < 2.7.8 - Race Condition leading to RCE","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El plugin Autoptimize WordPress versiones anteriores a 2.7.8 intenta eliminar los potenciales archivos maliciosos del archivo extraído cargado por medio de la funcionalidad \"Import Settings\", sin embargo, esto no es suficiente para proteger contra el RCE, ya que se puede lograr una condición de carrera entre el momento en que el archivo es extraído en el disco pero aún no se elimina. Se trata de una omisión de CVE-2020-24948","source":"nvd"}],"published":"2021-06-21T19:18:23.000Z","modified":"2026-06-17T03:39:55.587Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"custom","introduced":"2.7.8","fixed":"2.7.8","status":"affected"}],"vendor":"Unknown","product":"Autoptimize","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.7.8"}],"vendor":"autoptimize","product":"autoptimize","cpe":"cpe:2.3:a:autoptimize:autoptimize:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/85c0a564-2e56-413d-bc3a-1039343207e4","tags":["exploit","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Marcin Węgłowski"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24377","url":"https://www.cve.org/CVERecord?id=CVE-2021-24377","licence":"CVE Terms of Use","modified":"2024-08-03T19:28:23.923Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24377","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24377","licence":"Public domain","modified":"2026-06-17T03:39:55.587Z"}],"updatedAt":"2026-11-25T22:58:02.054Z","epss":{"score":0.01183,"percentile":0.68633,"date":"2026-12-01T12:00:22.000Z"}}