CVE-2024-23184

Name
CVE-2024-23184
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
vendor-advisory https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2024/oxdc-adv-2024-0002.json

Match rules

CPE URI Source package Min version Max version
ox-dovecot-pro >= 0 <= 2.3.21

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
dovecot edge-main 2.3.21.1-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
dovecot 3.21-main 2.3.21.1-r0 Natanael Copa <ncopa@alpinelinux.org> fixed