CVE-2021-21814
Last modified
CVE-2021-21814 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Att | Xmill | 0.7 |
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1280Exploit, Third Party Advisory
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1280Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-21814?
How severe is CVE-2021-21814?
How do I fix CVE-2021-21814?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-21809A command execution vulnerability exists in the default lega…9.1
- CVE-2021-2181Vulnerability in the Oracle Document Management and Collabor…7.6
- CVE-2021-21810A memory corruption vulnerability exists in the XML-parsing …9.8
- CVE-2021-21811A memory corruption vulnerability exists in the XML-parsing …9.8
- CVE-2021-21812A stack-based buffer overflow vulnerability exists in the co…7.8
- CVE-2021-21813Within the function HandleFileArg the argument filepattern i…7.8
- CVE-2021-21815A stack-based buffer overflow vulnerability exists in the co…7.8
- CVE-2021-21816An information disclosure vulnerability exists in the Syslog…4.3
- CVE-2021-21817An information disclosure vulnerability exists in the Zebra …7.5
- CVE-2021-21818A hard-coded password vulnerability exists in the Zebra IP R…7.5
- CVE-2021-21819A code execution vulnerability exists in the Libcli Test Env…7.2
- CVE-2021-2182Vulnerability in the Oracle iStore product of Oracle E-Busin…8.2
Are you affected by CVE-2021-21814?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
