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 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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | dovecot | Fixed | 1:2.3.21+dfsg1-2ubuntu6 | UBUNTU-CVE-2024-23184 |
| Ubuntu 22.04 | dovecot | Fixed | 1:2.3.16+dfsg1-3ubuntu2.4 | UBUNTU-CVE-2024-23184 |
| Ubuntu 20.04 | dovecot | Not affected vulnerable_code_not_present | ||
| Debian 14 | dovecot | Fixed | 1:2.3.21.1+dfsg1-1 | DEBIAN-CVE-2024-23184 |
| Debian 13 | dovecot | Fixed | 1:2.3.21.1+dfsg1-1 | DEBIAN-CVE-2024-23184 |
| Debian 12 | dovecot | Fixed | 1:2.3.19.1+dfsg1-2.1+deb12u1 | DEBIAN-CVE-2024-23184 |
| Red Hat Enterprise Linux 10 | dovecot | Not affected | ||
| Red Hat Enterprise Linux 10 | dovecot-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | dovecot-mysql | Not affected | ||
| Red Hat Enterprise Linux 10 | dovecot-pgsql | Not affected | ||
| Red Hat Enterprise Linux 10 | dovecot-pigeonhole | Not affected | ||
| Red Hat Enterprise Linux 9 | dovecot | Fixed | 1:2.3.16-11.el9_4.1 | RHSA-2024:6529 |
| Red Hat Enterprise Linux 9 | dovecot-devel | Fixed | 1:2.3.16-11.el9_4.1 | RHSA-2024:6529 |
| Red Hat Enterprise Linux 9 | dovecot-mysql | Fixed | 1:2.3.16-11.el9_4.1 | RHSA-2024:6529 |
| Red Hat Enterprise Linux 9 | dovecot-pgsql | Fixed | 1:2.3.16-11.el9_4.1 | RHSA-2024:6529 |
| Red Hat Enterprise Linux 9 | dovecot-pigeonhole | Fixed | 1:2.3.16-11.el9_4.1 | RHSA-2024:6529 |
| Red Hat Enterprise Linux 8 | dovecot | Fixed | 1:2.3.16-6.el8_10 | RHSA-2024:6973 |
| Red Hat Enterprise Linux 8 | dovecot-devel | Fixed | 1:2.3.16-6.el8_10 | RHSA-2024:6973 |
| Red Hat Enterprise Linux 8 | dovecot-mysql | Fixed | 1:2.3.16-6.el8_10 | RHSA-2024:6973 |
| Red Hat Enterprise Linux 8 | dovecot-pgsql | Fixed | 1:2.3.16-6.el8_10 | RHSA-2024:6973 |
| Red Hat Enterprise Linux 8 | dovecot-pigeonhole | Fixed | 1:2.3.16-6.el8_10 | RHSA-2024:6973 |
| Red Hat Enterprise Linux 7 | dovecot | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | dovecot-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | dovecot-mysql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | dovecot-pgsql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | dovecot-pigeonhole | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dovecot | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dovecot-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dovecot-mysql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dovecot-pgsql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dovecot-pigeonhole | Will not fix Out of support scope | ||
| AlmaLinux 9 | dovecot | Fixed | 1:2.3.16-11.el9_4.1 | ALSA-2024:6529 |
| AlmaLinux 9 | dovecot-devel | Fixed | 1:2.3.16-11.el9_4.1 | ALSA-2024:6529 |
| AlmaLinux 9 | dovecot-mysql | Fixed | 1:2.3.16-11.el9_4.1 | ALSA-2024:6529 |
| AlmaLinux 9 | dovecot-pgsql | Fixed | 1:2.3.16-11.el9_4.1 | ALSA-2024:6529 |
| AlmaLinux 9 | dovecot-pigeonhole | Fixed | 1:2.3.16-11.el9_4.1 | ALSA-2024:6529 |
| AlmaLinux 8 | dovecot | Fixed | 1:2.3.16-6.el8_10 | ALSA-2024:6973 |
| AlmaLinux 8 | dovecot-devel | Fixed | 1:2.3.16-6.el8_10 | ALSA-2024:6973 |
| AlmaLinux 8 | dovecot-mysql | Fixed | 1:2.3.16-6.el8_10 | ALSA-2024:6973 |
| AlmaLinux 8 | dovecot-pgsql | Fixed | 1:2.3.16-6.el8_10 | ALSA-2024:6973 |
| AlmaLinux 8 | dovecot-pigeonhole | Fixed | 1:2.3.16-6.el8_10 | ALSA-2024:6973 |
| Rocky Linux 9 | dovecot | Fixed | 1:2.3.16-11.el9_4.1 | RLSA-2024:6529 |
| Rocky Linux 8 | dovecot | Fixed | 1:2.3.16-6.el8_10 | RLSA-2024:6973 |
| Alpine Linux 3.24 | dovecot | Fixed | 2.3.21.1-r0 | ALPINE-CVE-2024-23184 |
| Alpine Linux 3.23 | dovecot | Fixed | 2.3.21.1-r0 | ALPINE-CVE-2024-23184 |
| Alpine Linux 3.22 | dovecot | Fixed | 2.3.21.1-r0 | ALPINE-CVE-2024-23184 |
| Alpine Linux 3.21 | dovecot | Fixed | 2.3.21.1-r0 | ALPINE-CVE-2024-23184 |
What the vendor says
As published in the CVE record by OX, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Open-Xchange GmbH OX Dovecot Pro: affected: up to 2.3.21
Vendor advisories:
- https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2024/oxdc-adv-202… (vendor-advisory)
References
- https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2024/oxdc-adv-2024-0002.json
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.