Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage causing the process to crash (and restart), or excessive CPU usage causing all authentications to hang.
[
{
"source": "https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735",
"target": {
"file": "src/auth/db-dict.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2017-2669-8b3a137b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"267636158964568098863636960298466532724",
"2352569610556384996954443346264017109",
"93946251500024901057239984742115296506",
"24637658557778190796647398033891828969",
"211611469493583939446357562940970616992",
"278277978705547623851111021639629407269",
"124382171383543376698073773677944138094",
"187087530198002650493950430766339868348",
"162450648597069746051999601511029220517"
]
},
"signature_type": "Line"
},
{
"source": "https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735",
"target": {
"function": "db_dict_iter_lookup_key_values",
"file": "src/auth/db-dict.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2017-2669-a636a152",
"digest": {
"length": 1242.0,
"function_hash": "258390715530272175125914701927623207390"
},
"signature_type": "Function"
}
]