{"id":"CVE-2021-4007","aliases":["CVE-2021-4007"],"related":[],"kind":"vulnerability","state":"published","title":"Rapid7 Insight Agent Privilege Escalation","summary":"Rapid7 Insight Agent, versions 3.0.1 to 3.1.2.34, suffer from a local privilege escalation due to an uncontrolled DLL search path. Specifically, when Insight Agent versions 3.0.1 to 3.1.2.34 start, the Python interpreter attempts to load python3.dll at \"C:\\DLLs\\python3.dll,\" which normally is writable by locally authenticated users. Because of this, a malicious local user could use Insight Agent's startup conditions to elevate to SYSTEM privileges. This issue was fixed in Rapid7 Insight Agent 3.1.2.35. This vulnerability is a regression of CVE-2019-5629.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Rapid7 Insight Agent, versions 3.0.1 to 3.1.2.34, suffer from a local privilege escalation due to an uncontrolled DLL search path. Specifically, when Insight Agent versions 3.0.1 to 3.1.2.34 start, the Python interpreter attempts to load python3.dll at \"C:\\DLLs\\python3.dll,\" which normally is writable by locally authenticated users. Because of this, a malicious local user could use Insight Agent's startup conditions to elevate to SYSTEM privileges. This issue was fixed in Rapid7 Insight Agent 3.1.2.35. This vulnerability is a regression of CVE-2019-5629.","source":"cvelist"},{"lang":"es","text":"Rapid7 Insight Agent, versiones 3.0.1 a 3.1.2.34, sufre una escalada de privilegios local debido a una ruta de búsqueda de DLL no controlada. En concreto, cuando se inician las versiones 3.0.1 a 3.1.2.34 del Agente Insight, el intérprete de Python intenta cargar python3.dll en \"C:\\DLLs\\python3.dll\", que normalmente es escribible por los usuarios autenticados localmente. Debido a esto, un usuario local malicioso podría usar las condiciones de inicio del Agente Insight para elevarse a privilegios SYSTEM. Este problema ha sido corregido en Rapid7 Insight Agent versión 3.1.2.35. Esta vulnerabilidad es una regresión de CVE-2019-5629","source":"nvd"}],"published":"2021-12-14T14:55:14.461Z","modified":"2026-06-17T04:18:53.310Z","severity":{"scorer":"rapid7","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"rapid7","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-427"],"affected":[{"ranges":[{"type":"custom","introduced":"3.0.1","fixed":"3.0.1*","status":"affected"},{"type":"custom","introduced":"3.1.2.34","lastAffected":"3.1.2.34","status":"affected"}],"vendor":"Rapid7","product":"Insight Agent","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.0.1","fixed":"3.1.2.35"}],"vendor":"rapid7","product":"insight_agent","cpe":"cpe:2.3:a:rapid7:insight_agent:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://docs.rapid7.com/release-notes/insightagent/20211210/","tags":["release-notes","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-5629","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Dawson Medin discovered and disclosed this issue to Rapid7"],"assigner":"rapid7","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-4007","url":"https://www.cve.org/CVERecord?id=CVE-2021-4007","licence":"CVE Terms of Use","modified":"2024-09-16T21:57:47.130Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-4007","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4007","licence":"Public domain","modified":"2026-06-17T04:18:53.310Z"}],"updatedAt":"2026-11-25T22:58:05.967Z","epss":{"score":0.0033,"percentile":0.28153,"date":"2026-12-01T12:00:22.000Z"}}