Lucene search

K
prionPRIOn knowledge basePRION:CVE-2021-21814
HistoryAug 13, 2021 - 11:15 p.m.

Design/Logic Flaw

2021-08-1323:15:00
PRIOn knowledge base
www.prio-n.com
4

7.9 High

AI Score

Confidence

High

0.0005 Low

EPSS

Percentile

17.8%

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.

CPENameOperatorVersion
xmilleq0.7

7.9 High

AI Score

Confidence

High

0.0005 Low

EPSS

Percentile

17.8%

Related for PRION:CVE-2021-21814