CVE-2021-21814 Memory corruption in AT&T
An attacker can trigger memory corruption via a buffer overflow in HandleFileArg by providing a long command-line argument, potentially leading to code execution or crashes.
- 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-21814?
CVE-2021-21814 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 strlen to determine the ending location of the char* passed in by the user, no checks are done to see if the passed in char* is longer than the staticly sized buffer data is memcpy‘d into, but after the memcpy a null byte is written to what is assumed to be the end of the buffer to terminate the char*, but without length checks, this null write occurs at an arbitrary offset from the buffer. An attacker can provide malicious input to trigger this vulnerability.
Weakness: CWE-88
Which versions are affected by CVE-2021-21814?
It affects 1 product.
Products include Att Xmill.
How do I fix CVE-2021-21814?
No fix has been published for CVE-2021-21814 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-21814 being exploited?
There is no known exploitation of CVE-2021-21814 in the wild and no public exploit code.
Other vulnerabilities in AT&T
Sources
Also known as GHSA-9m22-mqrh-x6c3.