Dovecot -- improper input validation

2019-04-13T00:00:00
ID ABAAECDA-EA16-43E2-BAD0-D34A9AC576B1
Type freebsd
Reporter FreeBSD
Modified 2019-04-13T00:00:00

Description

Aki Tuomi reports:

Vulnerability Details:

IMAP and ManageSieve protocol parsers do not properly handle NUL byte when scanning data in quoted strings, leading to out of bounds heap memory writes.

Risk:

This vulnerability allows for out-of-bounds writes to objects stored on the heap up to 8096 bytes in pre-login phase, and 65536 bytes post-login phase, allowing sufficiently skilled attacker to perform complicated attacks that can lead to leaking private information or remote code execution. Abuse of this bug is very difficult to observe, as it does not necessarily cause a crash. Attempts to abuse this bug are not directly evident from logs.