Skip to content

CVE-2024-23184 Having a large number of address headers (From, To, Cc, Bcc, etc.) becomes excessively CPU intensive. With 100k header lines CPU usage is already 12 seconds, and in a production environment we observe...

MediumCVSS 5.0 EPSS 0.83%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

Having a large number of address headers (From, To, Cc, Bcc, etc.) becomes excessively CPU intensive. With 100k header lines CPU usage is already 12 seconds, and in a production environment we observed 500k header lines taking 18 minutes to parse. Since this can be triggered by external actors sending emails to a victim, this is a security issue. An external attacker can send specially crafted messages that consume target system resources and cause outage. One can implement restrictions on address headers on MTA component preceding Dovecot. No publicly available exploits are known.

Upgrade path

10 packages: 10 fixed.

PackageAffectedFixed inStatus
alpine/dovecot(Alpine v3.21) < 2.3.21.1-r0 2.3.21.1-r0 Fixed
alpine/dovecot(Alpine v3.22) < 2.3.21.1-r0 2.3.21.1-r0 Fixed
alpine/dovecot(Alpine v3.23) < 2.3.21.1-r0 2.3.21.1-r0 Fixed
alpine/dovecot(Alpine v3.24) < 2.3.21.1-r0 2.3.21.1-r0 Fixed
debian/dovecot(Debian 12) < 1:2.3.19.1+dfsg1-2.1+deb12u1; = 1:2.3.19.1+dfsg1-2.1 1:2.3.19.1+dfsg1-2.1+deb12u1 Fixed
debian/dovecot(Debian 13) < 1:2.3.21.1+dfsg1-1 1:2.3.21.1+dfsg1-1 Fixed
debian/dovecot(Debian 14) < 1:2.3.21.1+dfsg1-1 1:2.3.21.1+dfsg1-1 Fixed
Open-Xchange GmbH OX Dovecot Pro <= 2.3.21 after 2.3.21 Fixed
ubuntu/dovecot(Ubuntu 22.04) < 1:2.3.16+dfsg1-3ubuntu2.4; = 1:2.3.13+dfsg1-1ubuntu3; = 1:2.3.16+dfsg1-3ubuntu1; = 1:2.3.16+dfsg1-3ubuntu2 +2 more 1:2.3.16+dfsg1-3ubuntu2.4 Fixed
ubuntu/dovecot(Ubuntu 24.04) < 1:2.3.21+dfsg1-2ubuntu6; = 1:2.3.20+dfsg1-1ubuntu3; = 1:2.3.21+dfsg1-2ubuntu1; = 1:2.3.21+dfsg1-2ubuntu2 +2 more 1:2.3.21+dfsg1-2ubuntu6 Fixed

Affected products

ProductAffected versionsFixed in
debian/dovecot(Debian:12) < 1:2.3.19.1+dfsg1-2.1+deb12u1 1:2.3.19.1+dfsg1-2.1+deb12u1
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1 No fix listed
debian/dovecot(Debian:13) < 1:2.3.21.1+dfsg1-1 1:2.3.21.1+dfsg1-1
debian/dovecot(Debian:14) < 1:2.3.21.1+dfsg1-1 1:2.3.21.1+dfsg1-1
ubuntu/dovecot(Ubuntu:22.04) < 1:2.3.16+dfsg1-3ubuntu2.4 1:2.3.16+dfsg1-3ubuntu2.4
Open-Xchange GmbH OX Dovecot Pro <= 2.3.21 No fix listed
alpine/dovecot(Alpine:v3.21) < 2.3.21.1-r0 2.3.21.1-r0
alpine/dovecot(Alpine:v3.22) < 2.3.21.1-r0 2.3.21.1-r0
alpine/dovecot(Alpine:v3.23) < 2.3.21.1-r0 2.3.21.1-r0
alpine/dovecot(Alpine:v3.24) < 2.3.21.1-r0 2.3.21.1-r0
ubuntu/dovecot(Ubuntu:24.04) < 1:2.3.21+dfsg1-2ubuntu6 1:2.3.21+dfsg1-2ubuntu6
ubuntu/dovecot(Ubuntu:22.04) = 1:2.3.13+dfsg1-1ubuntu3 No fix listed
ubuntu/dovecot(Ubuntu:22.04) = 1:2.3.16+dfsg1-3ubuntu1 No fix listed
ubuntu/dovecot(Ubuntu:22.04) = 1:2.3.16+dfsg1-3ubuntu2 No fix listed
ubuntu/dovecot(Ubuntu:22.04) = 1:2.3.16+dfsg1-3ubuntu2.1 No fix listed
ubuntu/dovecot(Ubuntu:22.04) = 1:2.3.16+dfsg1-3ubuntu2.2 No fix listed
ubuntu/dovecot(Ubuntu:24.04) = 1:2.3.20+dfsg1-1ubuntu3 No fix listed
ubuntu/dovecot(Ubuntu:24.04) = 1:2.3.21+dfsg1-2ubuntu1 No fix listed
ubuntu/dovecot(Ubuntu:24.04) = 1:2.3.21+dfsg1-2ubuntu2 No fix listed
ubuntu/dovecot(Ubuntu:24.04) = 1:2.3.21+dfsg1-2ubuntu4 No fix listed
ubuntu/dovecot(Ubuntu:24.04) = 1:2.3.21+dfsg1-2ubuntu5 No fix listed

References