Lucene search

K
freebsdFreeBSD114D70F3-3D16-11D9-8818-008088034841
HistoryNov 06, 2004 - 12:00 a.m.

Cyrus IMAPd -- PARTIAL command out of bounds memory corruption

2004-11-0600:00:00
vuxml.freebsd.org
13

0.085 Low

EPSS

Percentile

94.4%

Due to a bug within the argument parser of the partial
command an argument like “body[p” will be wrongly detected as
“body.peek”. Because of this the bufferposition gets increased
by 10 instead of 5 and could therefore point outside the
allocated memory buffer for the rest of the parsing
process. In imapd versions prior to 2.2.7 the handling of
“body” or “bodypeek” arguments was broken so that the
terminating ‘]’ got overwritten by a ‘\0’. Combined the two
problems allow a potential attacker to overwrite a single byte
of malloc() control structures, which leads to remote code
execution if the attacker successfully controls the heap
layout.

OSVersionArchitecturePackageVersionFilename
FreeBSDanynoarchcyrus-imapd< 2.1.17UNKNOWN

0.085 Low

EPSS

Percentile

94.4%