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.
Metrics
Affected Vendors & Products
References
History
No history.
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
Vulnrichment
No data.
NVD
Status : Modified
Published: 2021-08-13T23:15:07.257
Modified: 2024-11-21T05:49:01.560
Link: CVE-2021-21813
Redhat
No data.