Stack-buffer overflow vulnerability in HandleFileArg function

Stack-buffer overflow vulnerability in HandleFileArg function

CVE-2021-21813 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our User Device Pen Test.