CVE-2021-21813
JSON

7.8high

Within the function HandleFileArg the argument filepattern is under control of the user who passes it in from the command line.

Severity
7.8high CVSS:3.0 by talos
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
talos

Description

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.

Affected

Product or packageVersionsReported by
AT&TAT&T Labs Xmill 0.7CVE List
att xmill0.7NVD

All scores

talos7.8high CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:L/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Dentro de la función HandleFileArg el argumento filepattern está bajo el control del usuario que lo pasa desde la línea de comandos. filepattern es pasado directamente a memcpy copiando la ruta proporcionada por el usuario en un búfer de tamaño estático sin ninguna comprobación de longitud, resultando en un desbordamiento del búfer de la pila.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21813 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-21813 changed 2026-06-17Public domain