Dovecot IMAP Server 2.2 / 2.3 DoS vulnerabilit
Reporter | Title | Published | Views | Family All 79 |
---|---|---|---|---|
Tenable Nessus | Ubuntu 24.04 LTS : Dovecot vulnerabilities (USN-6982-1) | 2 Sep 202400:00 | – | nessus |
Tenable Nessus | Debian dla-3860 : dovecot-auth-lua - security update | 2 Sep 202400:00 | – | nessus |
Tenable Nessus | Fedora 40 : dovecot (2024-e23e8a3f1e) | 28 Aug 202400:00 | – | nessus |
Tenable Nessus | Rocky Linux 9 : dovecot (RLSA-2024:6529) | 16 Sep 202400:00 | – | nessus |
Tenable Nessus | RHEL 8 : dovecot (RHSA-2024:6973) | 24 Sep 202400:00 | – | nessus |
Tenable Nessus | SUSE SLES15 / openSUSE 15 Security Update : dovecot23 (SUSE-SU-2024:3118-1) | 4 Sep 202400:00 | – | nessus |
Tenable Nessus | Debian dsa-5752 : dovecot-auth-lua - security update | 21 Aug 202400:00 | – | nessus |
Tenable Nessus | Slackware Linux 15.0 / current dovecot Multiple Vulnerabilities (SSA:2024-227-01) | 14 Aug 202400:00 | – | nessus |
Tenable Nessus | AlmaLinux 8 : dovecot (ALSA-2024:6973) | 25 Sep 202400:00 | – | nessus |
Tenable Nessus | Ubuntu 20.04 LTS / 22.04 LTS : Dovecot vulnerabilities (USN-7013-1) | 16 Sep 202400:00 | – | nessus |
`Affected product: Dovecot IMAP Server
Internal reference: DOV-6601
Vulnerability type: CWE-770 (Allocation of Resources Without Limits or Throttling)
Vulnerable version: 2.2, 2.3
Vulnerable component: lib-mail
Report confidence: Confirmed
Solution status: Fixed in 2.3.21.1
Researcher credits: Vendor internal discovery
Vendor notification: 2024-01-31
CVE reference: CVE-2024-23185
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Vulnerability Details:
Very large headers can cause resource exhaustion when parsing message. The message-parser normally reads reasonably sized chunks of the message. However, when it feeds them to message-header-parser, it starts building up "full_value" buffer out of the smaller chunks. The full_value buffer has no size limit, so large headers can cause large memory usage. It doesn't matter whether it's a single long header line, or a single header split into multiple lines. This bug exists in all Dovecot versions.
Incoming mails typically have some size limits set by MTA, so even largest possible header size may still fit into Dovecot's vsz_limit. So attackers probably can't DoS a victim user this way. A user could APPEND larger mails though, allowing them to DoS themselves (although maybe cause some memory issues for the backend in general).
Workaround:
One can implement restrictions on headers on MTA component preceding Dovecot.
Fix:
Install non-vulnerable version of Dovecot. Patch can be found at https://github.com/dovecot/core/compare/f020e13%5E...ce88c33.patch
`
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo