Alibaba Cloud Linux 3 : 0202: dovecot (ALINUX3-SA-2024:0202)

medium Nessus Plugin ID 236246

Synopsis

The remote Alibaba Cloud Linux host is missing one or more security updates.

Description

The remote Alibaba Cloud Linux 3 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALINUX3-SA-2024:0202 advisory.

Package updates are available for Alibaba Cloud Linux 3 that fix the following vulnerabilities:

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.

CVE-2024-23185:
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.

Tenable has extracted the preceding description block directly from the Alibaba Cloud Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

http://mirrors.aliyun.com/alinux/3/cve/alinux3-sa-20240202.xml

Plugin Details

Severity: Medium

ID: 236246

File Name: alinux3_sa_2024-0202.nasl

Version: 1.1

Type: local

Published: 5/14/2025

Updated: 5/14/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:N

CVSS Score Source: CVE-2024-23184

CVSS v3

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.5

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:alibabacloud:alibaba_cloud_linux_3, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:dovecot-mysql-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:dovecot-pgsql-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:dovecot-devel, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:dovecot-pgsql, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:dovecot-pigeonhole, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:dovecot-pigeonhole-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:dovecot-debugsource, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:dovecot-mysql, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:dovecot-debuginfo, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:dovecot

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Alibaba/release, Host/Alibaba/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/29/2024

Vulnerability Publication Date: 8/16/2024

Reference Information

CVE: CVE-2024-23184, CVE-2024-23185