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 memcpy copying the path provided by the user into a staticly sized buffer without any length checks resulting in a stack-buffer overflow.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: talos

Published: 2021-08-13T22:40:18

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

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

Link: CVE-2021-21813

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

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

Modified: 2022-10-06T18:19:14.497

Link: CVE-2021-21813

cve-icon Redhat

No data.