CVE-2021-31854: mcafee agent OS Command Injection
Vulnerability summary
CVE-2021-31854 is a high (CVSS 9.3) OS Command Injection vulnerability in mcafee agent. EPSS estimates a 1.01% chance of exploitation in the next 30 days, higher than 62.6% of scored vulnerabilities.
Timeline
- 19-01-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
1.01%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
0.00 pp
From 1.01% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Mcafee1 product
- agent< 5.7.5
Mcafee,llc1 product
- mcafee agent for windows≥ unspecified, < 5.7.5
2 vendors · 2 products
References
1 links- kc.mcafee.com/corporate/index?page=content&id=SB10378X Refsource CONFIRM