ubuntu-cve-2024-23184
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "dovecot-auth-lua",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-core",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-gssapi",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-imapd",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-ldap",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-lmtpd",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-lucene",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-managesieved",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-mysql",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-pgsql",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-pop3d",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-sieve",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-solr",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-sqlite",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
},
{
"binary_name": "dovecot-submissiond",
"binary_version": "1:2.3.16+dfsg1-3ubuntu2.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "dovecot",
"purl": "pkg:deb/ubuntu/dovecot@1:2.3.16+dfsg1-3ubuntu2.4?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.3.16+dfsg1-3ubuntu2.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.3.13+dfsg1-1ubuntu3",
"1:2.3.16+dfsg1-3ubuntu1",
"1:2.3.16+dfsg1-3ubuntu2",
"1:2.3.16+dfsg1-3ubuntu2.1",
"1:2.3.16+dfsg1-3ubuntu2.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "dovecot-auth-lua",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-core",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-gssapi",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-imapd",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-ldap",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-lmtpd",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-managesieved",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-mysql",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-pgsql",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-pop3d",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-sieve",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-solr",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-sqlite",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
},
{
"binary_name": "dovecot-submissiond",
"binary_version": "1:2.3.21+dfsg1-2ubuntu6"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "dovecot",
"purl": "pkg:deb/ubuntu/dovecot@1:2.3.21+dfsg1-2ubuntu6?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:2.3.21+dfsg1-2ubuntu6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:2.3.20+dfsg1-1ubuntu3",
"1:2.3.21+dfsg1-2ubuntu1",
"1:2.3.21+dfsg1-2ubuntu2",
"1:2.3.21+dfsg1-2ubuntu4",
"1:2.3.21+dfsg1-2ubuntu5"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2024-23184",
"modified": "2026-04-22T07:47:59Z",
"published": "2024-08-24T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-23184"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-23184"
},
{
"type": "REPORT",
"url": "https://www.openwall.com/lists/oss-security/2024/08/15/3"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6982-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7013-1"
}
],
"related": [
"USN-6982-1",
"USN-7013-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-23184"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.