PT-2024-7272 · Dovecot+10 · Dovecot+10

Published

2024-08-14

·

Updated

2025-01-30

·

CVE-2024-23185

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions: Dovecot (affected versions not specified)
Description: The issue is related to resource exhaustion when parsing messages with very large headers. The message-parser reads reasonably sized chunks of the message, but when it feeds them to the message-header-parser, it starts building up a "full value" buffer out of the smaller chunks. This 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. Attackers probably can't cause a denial-of-service (DoS) attack on a victim user this way, but a user could append larger mails, allowing them to DoS themselves. Implementing restrictions on headers on the MTA component preceding Dovecot can help mitigate the issue. No publicly available exploits are known.
Recommendations: At the moment, there is no information about a newer version that contains a fix for this vulnerability. As a temporary workaround, consider implementing restrictions on headers on the MTA component preceding Dovecot to minimize the risk of exploitation. Restrict access to large headers to prevent potential memory issues for the backend. Avoid using large headers in mails to prevent self-denial-of-service.

DoS

Allocation of Resources Without Limits

Weakness Enumeration

Related Identifiers

ALSA-2024:6529
ALSA-2024:6973
ALT-PU-2024-11234
ALT-PU-2024-11395
ALT-PU-2024-11470
ALT-PU-2024-14992
AZL-48984
AZL-49027
BDU:2024-08624
CESA-2024_6973
CVE-2024-23185
DLA-3860-1
DSA-5752-1
INFSA-2024_6529
INFSA-2024_6973
MGASA-2024-0280
OESA-2024-2009
OPENSUSE-SU-2024:14274-1
OPENSUSE-SU-2024_3118-1
OPENSUSE-SU-2025:14715-1
RHSA-2024:6465
RHSA-2024:6529
RHSA-2024:6973
RHSA-2024_6529
RHSA-2024_6973
RLSA-2024:6529
RLSA-2024:6973
SUSE-SU-2024:3118-1
USN-6982-1
USN-7013-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Dovecot
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu