CVE-2021-21814

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:att:xmill:0.7:*:*:*:*:*:*:*

History

21 Nov 2024, 05:49

Type Values Removed Values Added
References () https://talosintelligence.com/vulnerability_reports/TALOS-2021-1280 - Exploit, Third Party Advisory () https://talosintelligence.com/vulnerability_reports/TALOS-2021-1280 - Exploit, Third Party Advisory

Information

Published : 2021-08-13 23:15

Updated : 2024-11-21 05:49


NVD link : CVE-2021-21814

Mitre link : CVE-2021-21814

CVE.ORG link : CVE-2021-21814


JSON object : View

Products Affected

att

  • xmill
CWE
CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')