CVE-2021-31854
published high CVSS 3.1 · 7.7Code injection vulnerability in McAfee Agent
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| McAfee,LLC | — | McAfee Agent for Windowsunspecified to < 5.7.5 · Other versions: unaffected · Platforms: Windows | Affected | Not stated | trellix |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- trellix · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| McAfee,LLC | McAfee Agent for Windows | unspecified to < 5.7.5 (affected · custom)Default: unaffected | trellix · cna |
Weaknesses
1- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
1Provider assertions
2trellix · cna
Code injection vulnerability in McAfee Agent
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f634bb40478ea3f15c596367d90889725bcfe1406386164ed0a880c9e5f80e58
- Ingested
- 23 Sep 2026, 07:54:21 UTC
- Source record
- Official CVE record