Advisory

UBUNTU-CVE-2024-23184

Also known as: CVE-2024-23184

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N

Dates

Published
2024-08-24 00:00 UTC
Modified
2026-04-22 14:39 UTC

Affected packages and fixes

dovecot

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:2.3.16+dfsg1-3ubuntu2.4 (ecosystem)

Fixed versions

1:2.3.16+dfsg1-3ubuntu2.4

Fix

  • Fixed version 1:2.3.16+dfsg1-3ubuntu2.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dovecot

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1:2.3.21+dfsg1-2ubuntu6 (ecosystem)

Fixed versions

1:2.3.21+dfsg1-2ubuntu6

Fix

  • Fixed version 1:2.3.21+dfsg1-2ubuntu6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences