TROYANOSYVIRUS
Back to CVEs

CVE-2021-21814

HIGH
7.8

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 strlen to determine the ending location of the char* passed in by the user, no checks are done to see if the passed in char* is longer than the staticly sized buffer data is memcpy‘d into, but after the memcpy a null byte is written to what is assumed to be the end of the buffer to terminate the char*, but without length checks, this null write occurs at an arbitrary offset from the buffer. An attacker can provide malicious input to trigger this vulnerability.

CVE Details

CVSS v3.1 Score7.8
SeverityHIGH
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published8/13/2021
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

att:xmill

Weaknesses (CWE)

CWE-88

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.