
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-23185 affects Dovecot IMAP Server, specifically impacting all versions of the lib-mail component. The vulnerability was discovered internally by the vendor on January 31, 2024, and has been fixed in version 2.3.21.1. The issue involves resource exhaustion when parsing message headers, where the message-parser's 'full_value' buffer has no size limit, potentially leading to excessive memory usage (Openwall OSS, Full Disclosure).
The vulnerability occurs in the message parsing process where the message-parser reads reasonably sized chunks of the message. When these chunks are fed to the message-header-parser, it accumulates them in a 'full_value' buffer without any size restrictions. This issue can be triggered by either a single long header line or a header split into multiple lines. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating network accessibility with low attack complexity and no required privileges or user interaction (CSAF Advisory).
The primary impact is potential resource exhaustion leading to denial of service. While incoming mails typically have size limits set by MTA, which might prevent external attackers from exploiting this vulnerability effectively, users could potentially cause self-inflicted DoS by appending larger mails. This could also potentially cause memory issues for the backend system in general (Openwall OSS).
The primary mitigation is to install a non-vulnerable version of Dovecot (version 2.3.21.1 or later). As a workaround, administrators can implement restrictions on headers in the MTA component preceding Dovecot. A patch is available at the Dovecot GitHub repository (Openwall OSS).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."