Skip to content
OpenAdvisories
High · 8.8 CVE-2022-30550 EUVD-2022-52409GHSA-cch8-vp96-g53m

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 sa…

Published Jul 17, 2022 · Updated Oct 15, 2024 · Assigned by mitre

Description

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 username_filter 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 username_filter setting to restrict which of the users is able to be a master user.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dovecot 1:2.3.19.1+dfsg1-2 —
Debian 13 dovecot 1:2.3.19.1+dfsg1-2 —
Debian 12 dovecot 1:2.3.19.1+dfsg1-2 —
Debian 10 dovecot 1:2.3.4.1-5+deb10u7 DLA-3122-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS dovecot 1:2.3.16+dfsg1-3ubuntu2.1 USN-5509-1
Ubuntu 20.04 LTS dovecot 1:2.3.7.2-1ubuntu3.6 USN-5509-1
Ubuntu 18.04 LTS dovecot 1:2.2.33.2-1ubuntu4.8 USN-5509-1
Ubuntu 16.04 LTS dovecot No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS dovecot No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 dovecot +4 1:2.3.16-7.el9 RHSA-2022:8208
RHEL 8 dovecot +4 1:2.3.16-3.el8 RHSA-2022:7623

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 dovecot +4 1:2.3.16-7.el9 ALSA-2022:8208
AlmaLinux 8 dovecot +4 1:2.3.16-3.el8 ALSA-2022:7623

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 dovecot 1:2.3.16-7.el9 RLSA-2022:8208
Rocky Linux 8 dovecot 1:2.3.16-3.el8 RLSA-2022:7623
ReleasePackageFixed inAdvisory
SLES 15 SP4 dovecot23 2.3.15-150200.62.1 SUSE-SU-2022:2448-1
SLES 15 SP3 dovecot23 2.3.15-150200.62.1 SUSE-SU-2022:2448-1
SLES 15 SP2 dovecot23 2.3.15-150200.62.1 SUSE-SU-2022:2448-1
SLES 15 SP1 dovecot23 2.3.15-150100.31.1 SUSE-SU-2022:2432-1
SLES 15 dovecot23 2.3.15-150000.4.42.1 SUSE-SU-2022:2431-1
Show 19 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 dovecot22 2.2.31-19.29.1 SUSE-SU-2022:2618-1
SLES 12 SP4 dovecot22 2.2.31-19.29.1 SUSE-SU-2022:2618-1
SLES 12 SP3 dovecot22 2.2.31-19.29.1 SUSE-SU-2022:2618-1
SLES 12 SP2 dovecot22 2.2.31-19.29.1 SUSE-SU-2022:2618-1
SLES for SAP 15 SP2 dovecot23 2.3.15-150200.62.1 SUSE-SU-2022:2448-1
SLES for SAP 15 SP1 dovecot23 2.3.15-150100.31.1 SUSE-SU-2022:2432-1
SLES for SAP 15 dovecot23 2.3.15-150000.4.42.1 SUSE-SU-2022:2431-1
SLES for SAP 12 SP5 dovecot22 2.2.31-19.29.1 SUSE-SU-2022:2618-1
SLES for SAP 12 SP4 dovecot22 2.2.31-19.29.1 SUSE-SU-2022:2618-1
SLE HPC 15 SP2 dovecot23 2.3.15-150200.62.1 SUSE-SU-2022:2448-1
SLE HPC 15 SP1 dovecot23 2.3.15-150100.31.1 SUSE-SU-2022:2432-1
SLE HPC 15 dovecot23 2.3.15-150000.4.42.1 SUSE-SU-2022:2431-1
SUSE OpenStack Cloud Crowbar 9 dovecot22 2.2.31-19.29.1 SUSE-SU-2022:2618-1
SUSE OpenStack Cloud 9 dovecot22 2.2.31-19.29.1 SUSE-SU-2022:2618-1
SUSE Manager Server 4.1 dovecot23 2.3.15-150200.62.1 SUSE-SU-2022:2448-1
SUSE Manager Retail Branch Server 4.1 dovecot23 2.3.15-150200.62.1 SUSE-SU-2022:2448-1
SUSE Manager Proxy 4.1 dovecot23 2.3.15-150200.62.1 SUSE-SU-2022:2448-1
SUSE Enterprise Storage 7 dovecot23 2.3.15-150200.62.1 SUSE-SU-2022:2448-1
SUSE Enterprise Storage 6 dovecot23 2.3.15-150100.31.1 SUSE-SU-2022:2432-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 dovecot23 2.3.15-150200.62.1 SUSE-SU-2022:2448-1
openSUSE Leap 15.3 dovecot23 2.3.15-150200.62.1 SUSE-SU-2022:2448-1
ReleasePackageFixed inAdvisory
Alpine v3.24 dovecot 2.3.19.1-r5 —
Alpine v3.23 dovecot 2.3.19.1-r5 —
Alpine v3.22 dovecot 2.3.19.1-r5 —
Alpine v3.21 dovecot 2.3.19.1-r5 —
Alpine v3.20 dovecot 2.3.19.1-r5 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 dovecot 2.3.19.1-r5 —
Alpine v3.18 dovecot 2.3.19.1-r5 —
Alpine v3.17 dovecot 2.3.19.1-r5 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 dovecot +4 1:2.2.36-6.amzn2.1.1 ALAS2-2023-2365

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 dovecot No fix yet —
Azure Linux 2 (CBL-Mariner) dovecot 2.3.20-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 dovecot +4 1:2.3.16-7.0.1.el9 ELSA-2022-8208
Oracle Linux 8 dovecot +4 1:2.3.16-3.el8 ELSA-2022-7623

Advisories 16

References