UBUNTU-CVE-2024-23184

Source
https://ubuntu.com/security/CVE-2024-23184
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-23184.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-23184
Related
Published
2024-08-24T00:00:00Z
Modified
2024-08-24T00:00:00Z
Summary
[none]
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.

References

Affected packages

Ubuntu:20.04:LTS / dovecot

Package

Name
dovecot
Purl
pkg:deb/ubuntu/dovecot?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.3.7.2-1ubuntu3.6

Affected versions

1:2.*

1:2.3.4.1-5ubuntu3
1:2.3.7.2-1ubuntu1
1:2.3.7.2-1ubuntu2
1:2.3.7.2-1ubuntu3
1:2.3.7.2-1ubuntu3.1
1:2.3.7.2-1ubuntu3.2
1:2.3.7.2-1ubuntu3.3
1:2.3.7.2-1ubuntu3.4
1:2.3.7.2-1ubuntu3.5

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-auth-lua"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-auth-lua-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-core"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-core-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-dev"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-gssapi"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-gssapi-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-imapd"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-imapd-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-ldap"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-ldap-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-lmtpd"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-lmtpd-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-lucene"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-lucene-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-managesieved"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-managesieved-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-mysql"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-mysql-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-pgsql"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-pgsql-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-pop3d"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-pop3d-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-sieve"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-sieve-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-solr"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-solr-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-sqlite"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-sqlite-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-submissiond"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "dovecot-submissiond-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.6",
            "binary_name": "mail-stack-delivery"
        }
    ]
}

Ubuntu:22.04:LTS / dovecot

Package

Name
dovecot
Purl
pkg:deb/ubuntu/dovecot?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.3.16+dfsg1-3ubuntu2.4

Affected versions

1:2.*

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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:2.3.16+dfsg1-3ubuntu2.4",
            "binary_name": "dovecot-auth-lua"
        },
        {
            "binary_version": "1:2.3.16+dfsg1-3ubuntu2.4",
            "binary_name": "dovecot-auth-lua-dbgsym"
        },
        {
            "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-core-dbgsym"
        },
        {
            "binary_version": "1:2.3.16+dfsg1-3ubuntu2.4",
            "binary_name": "dovecot-dev"
        },
        {
            "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-gssapi-dbgsym"
        },
        {
            "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-imapd-dbgsym"
        },
        {
            "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-ldap-dbgsym"
        },
        {
            "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-lmtpd-dbgsym"
        },
        {
            "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-lucene-dbgsym"
        },
        {
            "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-managesieved-dbgsym"
        },
        {
            "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-mysql-dbgsym"
        },
        {
            "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-pgsql-dbgsym"
        },
        {
            "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-pop3d-dbgsym"
        },
        {
            "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-sieve-dbgsym"
        },
        {
            "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-solr-dbgsym"
        },
        {
            "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-sqlite-dbgsym"
        },
        {
            "binary_version": "1:2.3.16+dfsg1-3ubuntu2.4",
            "binary_name": "dovecot-submissiond"
        },
        {
            "binary_version": "1:2.3.16+dfsg1-3ubuntu2.4",
            "binary_name": "dovecot-submissiond-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / dovecot

Package

Name
dovecot
Purl
pkg:deb/ubuntu/dovecot?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.3.21+dfsg1-2ubuntu6

Affected versions

1:2.*

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-auth-lua"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-auth-lua-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-core"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-core-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-dev"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-gssapi"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-gssapi-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-imapd"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-imapd-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-ldap"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-ldap-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-lmtpd"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-lmtpd-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-managesieved"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-managesieved-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-mysql"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-mysql-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-pgsql"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-pgsql-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-pop3d"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-pop3d-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-sieve"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-sieve-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-solr"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-solr-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-sqlite"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-sqlite-dbgsym"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-submissiond"
        },
        {
            "binary_version": "1:2.3.21+dfsg1-2ubuntu6",
            "binary_name": "dovecot-submissiond-dbgsym"
        }
    ]
}