UBUNTU-CVE-2024-23185

Source
https://ubuntu.com/security/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-10-15T14:12:51Z
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
Purl
pkg:deb/ubuntu/dovecot?arch=src?distro=trusty/esm

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
Purl
pkg:deb/ubuntu/dovecot?arch=src?distro=esm-infra/xenial

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
Purl
pkg:deb/ubuntu/dovecot?arch=src?distro=esm-infra/bionic

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?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": [
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-auth-lua"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-auth-lua-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-core"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-core-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-dev"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-gssapi"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-gssapi-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-imapd"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-imapd-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-ldap"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-ldap-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-lmtpd"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-lmtpd-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-lucene"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-lucene-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-managesieved"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-managesieved-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-mysql"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-mysql-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-pgsql"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-pgsql-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-pop3d"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-pop3d-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-sieve"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-sieve-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-solr"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-solr-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-sqlite"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-sqlite-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-submissiond"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "binary_name": "dovecot-submissiond-dbgsym"
        },
        {
            "binary_version": "1:2.3.7.2-1ubuntu3.7",
            "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.10 / dovecot

Package

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

Affected ranges

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

Affected versions

1:2.*

1:2.3.21+dfsg1-2ubuntu5
1:2.3.21+dfsg1-3ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-auth-lua"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-auth-lua-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-core"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-core-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-dev"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-gssapi"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-gssapi-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-imapd"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-imapd-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-ldap"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-ldap-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-lmtpd"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-lmtpd-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-managesieved"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-managesieved-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-mysql"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-mysql-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-pgsql"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-pgsql-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-pop3d"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-pop3d-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-sieve"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-sieve-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-solr"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-solr-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-sqlite"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-sqlite-dbgsym"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "binary_name": "dovecot-submissiond"
        },
        {
            "binary_version": "1:2.3.21.1+dfsg1-1ubuntu1",
            "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"
        }
    ]
}