UBUNTU-CVE-2022-30550

Source
https://ubuntu.com/security/CVE-2022-30550
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30550.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2022-30550
Related
Published
2022-07-07T00:00:00Z
Modified
2024-12-18T16:33:32Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in the auth component in Dovecot 2.2 and 2.3 before 2.3.20. When two passdb configuration entries exist with the same driver and args settings, incorrect usernamefilter and mechanism settings can be applied to passdb definitions. These incorrectly applied settings can lead to an unintended security configuration and can permit privilege escalation in certain configurations. The documentation does not advise against the use of passdb definitions that have the same driver and args settings. One such configuration would be where an administrator wishes to use the same PAM configuration or passwd file for both normal and master users but use the usernamefilter setting to restrict which of the users is able to be a master user.

References

Affected packages

Ubuntu:Pro:14.04:LTS / dovecot

Package

Name
dovecot
Purl
pkg:deb/ubuntu/dovecot?arch=src?distro=esm-infra-legacy/trusty

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:18.04:LTS / dovecot

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.2.33.2-1ubuntu4.8

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-core"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-core-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-dev"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-gssapi"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-gssapi-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-imapd"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-imapd-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-ldap"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-ldap-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-lmtpd"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-lmtpd-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-managesieved"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-managesieved-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-mysql"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-mysql-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-pgsql"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-pgsql-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-pop3d"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-pop3d-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-sieve"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-sieve-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-solr"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-solr-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-sqlite"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "dovecot-sqlite-dbgsym"
        },
        {
            "binary_version": "1:2.2.33.2-1ubuntu4.8",
            "binary_name": "mail-stack-delivery"
        }
    ]
}

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.1

Affected versions

1:2.*

1:2.3.13+dfsg1-1ubuntu3
1:2.3.16+dfsg1-3ubuntu1
1:2.3.16+dfsg1-3ubuntu2

Ecosystem specific

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