CVE-2021-21813 Memory corruption in AT&T

High 7.8 Published Updated

A stack buffer overflow in AT&T software allows attackers to execute arbitrary code or cause denial of service via a crafted command-line argument.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-21813?

CVE-2021-21813 is a high-severity memory corruption vulnerability in AT&T, published on 13 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Within the function HandleFileArg the argument filepattern is under control of the user who passes it in from the command line. filepattern is passed directly to memcpy copying the path provided by the user into a staticly sized buffer without any length checks resulting in a stack-buffer overflow.

Weakness: CWE-787

Which versions are affected by CVE-2021-21813?

It affects 1 product.

Products include Att Xmill.

How do I fix CVE-2021-21813?

No fix has been published for CVE-2021-21813 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-21813 being exploited?

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

Sources

Also known as GHSA-h458-372j-6g45.

Is CVE-2021-21813 in your software?

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

Check your SBOMs for free