UBUNTU-CVE-2024-23185

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2024-23185
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-23185.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-23185
Related
Published
2024-08-24T00:00:00Z
Modified
2024-08-24T00:00:00Z
Summary
[none]
Details

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 "fullvalue" buffer out of the smaller chunks. The fullvalue 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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / dovecot

Package

Name
dovecot

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:2.*

1:2.1.7-7ubuntu3
1:2.2.9-1ubuntu1
1:2.2.9-1ubuntu2
1:2.2.9-1ubuntu2.1
1:2.2.9-1ubuntu2.3
1:2.2.9-1ubuntu2.4
1:2.2.9-1ubuntu2.5
1:2.2.9-1ubuntu2.6
1:2.2.9-1ubuntu2.6+esm2
1:2.2.9-1ubuntu2.6+esm3
1:2.2.9-1ubuntu2.6+esm4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / dovecot

Package

Name
dovecot

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:2.*

1:2.2.18-2ubuntu2
1:2.2.22-1ubuntu1
1:2.2.22-1ubuntu2
1:2.2.22-1ubuntu2.1
1:2.2.22-1ubuntu2.2
1:2.2.22-1ubuntu2.3
1:2.2.22-1ubuntu2.4
1:2.2.22-1ubuntu2.6
1:2.2.22-1ubuntu2.7
1:2.2.22-1ubuntu2.8
1:2.2.22-1ubuntu2.9
1:2.2.22-1ubuntu2.10
1:2.2.22-1ubuntu2.11
1:2.2.22-1ubuntu2.12
1:2.2.22-1ubuntu2.13
1:2.2.22-1ubuntu2.14

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / dovecot

Package

Name
dovecot

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:2.*

1:2.2.27-3ubuntu1
1:2.2.33.2-1ubuntu1
1:2.2.33.2-1ubuntu2
1:2.2.33.2-1ubuntu3
1:2.2.33.2-1ubuntu4
1:2.2.33.2-1ubuntu4.1
1:2.2.33.2-1ubuntu4.2
1:2.2.33.2-1ubuntu4.3
1:2.2.33.2-1ubuntu4.4
1:2.2.33.2-1ubuntu4.5
1:2.2.33.2-1ubuntu4.6
1:2.2.33.2-1ubuntu4.7
1:2.2.33.2-1ubuntu4.8

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / dovecot

Package

Name
dovecot
Purl
pkg:deb/ubuntu/dovecot@1:2.3.7.2-1ubuntu3.7?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.7

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
1:2.3.7.2-1ubuntu3.6

Ecosystem specific

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

Ubuntu:22.04:LTS / dovecot

Package

Name
dovecot
Purl
pkg:deb/ubuntu/dovecot@1:2.3.16+dfsg1-3ubuntu2.4?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": [
        {
            "dovecot-gssapi": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-solr": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-lmtpd-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-lucene-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-managesieved": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-pop3d": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-sieve": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-ldap-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-core": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-lucene": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-submissiond-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-sqlite": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-auth-lua": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-ldap": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-sqlite-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-managesieved-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-imapd-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-solr-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-sieve-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-gssapi-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-imapd": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-lmtpd": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-auth-lua-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-pgsql": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-mysql": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-pop3d-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-submissiond": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-core-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-pgsql-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-mysql-dbgsym": "1:2.3.16+dfsg1-3ubuntu2.4",
            "dovecot-dev": "1:2.3.16+dfsg1-3ubuntu2.4"
        }
    ]
}

Ubuntu:24.04:LTS / dovecot

Package

Name
dovecot
Purl
pkg:deb/ubuntu/dovecot@1:2.3.21+dfsg1-2ubuntu6?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": [
        {
            "dovecot-submissiond": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-solr": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-lmtpd-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-managesieved": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-pop3d": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-sieve": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-ldap-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-core": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-submissiond-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-auth-lua": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-sqlite": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-ldap": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-sqlite-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-managesieved-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-imapd-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-solr-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-sieve-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-gssapi-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-imapd": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-lmtpd": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-auth-lua-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-pop3d-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-mysql": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-pgsql": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-pgsql-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-gssapi": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-core-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-mysql-dbgsym": "1:2.3.21+dfsg1-2ubuntu6",
            "dovecot-dev": "1:2.3.21+dfsg1-2ubuntu6"
        }
    ]
}