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 static sized buffer without any length checks resulting in a stack-buffer overflow. An attacker can provide malicious input to trigger these vulnerabilities.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: talos

Published: 2021-08-13T22:39:44

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

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

Link: CVE-2021-21812

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

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

Modified: 2022-05-13T17:37:05.537

Link: CVE-2021-21812

cve-icon Redhat

No data.