Rapid7 Vulnerability & Exploit Database

Rocky Linux: CVE-2024-23185: dovecot (RLSA-2024-6529)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Rocky Linux: CVE-2024-23185: dovecot (RLSA-2024-6529)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
09/10/2024
Created
09/18/2024
Added
09/17/2024
Modified
09/17/2024

Description

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). One can implement restrictions on headers on MTA component preceding Dovecot. No publicly available exploits are known.

Solution(s)

  • rocky-upgrade-dovecot
  • rocky-upgrade-dovecot-debuginfo
  • rocky-upgrade-dovecot-debugsource
  • rocky-upgrade-dovecot-devel
  • rocky-upgrade-dovecot-mysql
  • rocky-upgrade-dovecot-mysql-debuginfo
  • rocky-upgrade-dovecot-pgsql
  • rocky-upgrade-dovecot-pgsql-debuginfo
  • rocky-upgrade-dovecot-pigeonhole
  • rocky-upgrade-dovecot-pigeonhole-debuginfo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;