A stack-based buffer overflow vulnerability exists in the command-line-parsing HandleFileArg functionality of AT&T Labs' Xmill 0.7. 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 strcpy copying the path provided by the user into a staticly sized buffer without any length checks resulting in a stack-buffer overflow. An attacker can provide malicious input to trigger this vulnerability.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: talos

Published: 2021-08-13T22:43:10

Updated: 2024-08-03T18:23:29.562Z

Reserved: 2021-01-04T00:00:00

Link: CVE-2021-21815

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-08-13T23:15:07.330

Modified: 2022-05-13T17:14:16.540

Link: CVE-2021-21815

cve-icon Redhat

No data.