CVE-2021-31845 Remote Code Execution in McAfee DLP Discover

High 8.4 Published Updated

An attacker can execute arbitrary code with elevated privileges by tricking McAfee DLP Discover into scanning a malicious Ami Pro file.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-31845?

CVE-2021-31845 is a high-severity memory corruption vulnerability in McAfee,LLC McAfee Data Loss Prevention (DLP) Discover, published on 17 Sep 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A buffer overflow vulnerability in McAfee Data Loss Prevention (DLP) Discover prior to 11.6.100 allows an attacker in the same network as the DLP Discover to execute arbitrary code through placing carefully constructed Ami Pro (.sam) files onto a machine and having DLP Discover scan it, leading to remote code execution with elevated privileges. This is caused by the destination buffer being of fixed size and incorrect checks being made on the source size.

Weakness: CWE-120

Which versions are affected by CVE-2021-31845?

It affects 1 product.

Products include Mcafee Data Loss Prevention Discover.

How do I fix CVE-2021-31845?

No fix has been published for CVE-2021-31845 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-31845 being exploited?

There is no known exploitation of CVE-2021-31845 in the wild and no public exploit code.

Sources

Also known as GHSA-5v25-mx6v-hvmw.

Is CVE-2021-31845 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free