{"schemaVersion":3,"id":"CVE-2021-31854","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"A command Injection Vulnerability in McAfee Agent (MA) for Windows prior to 5.7.5 allows local users to inject arbitrary shell code into the file cleanup.exe. The malicious clean.exe file is placed into the relevant folder and executed by running the McAfee Agent deployment feature located in the System Tree. An attacker may exploit the vulnerability to obtain a reverse shell which can lead to privilege escalation to obtain root privileges.","dates":{"published":"2022-01-19T11:00:16.000Z","modified":"2024-08-03T23:10:30.729Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01012,"percentile":0.62656,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01012},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01012,"percentile":0.62656}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01012,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01012,"percentile":0.62656}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"mcafee","product":"agent","name":"agent","label":"agent","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.7.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.7.5","eol":null,"hubHref":"/vendor/mcafee/agent"},{"vendor":"mcafee,llc","product":"mcafee agent for windows","name":"McAfee Agent for Windows","label":"mcafee agent for windows","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 5.7.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 5.7.5","eol":null,"hubHref":"/vendor/mcafeellc/mcafee_agent_for_windows"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10378","label":"kc.mcafee.com/corporate/index?page=content&id=SB10378","hostname":"kc.mcafee.com","tags":["X Refsource CONFIRM"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-01-19T11:00:16.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T23:10:30.729Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:37:35.284Z","stale":false,"partial":false}}