Skip to content

CVE-2022-30550 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 me...

HighCVSS 8.8 EPSS 2.3%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

18 packages: 15 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/dovecot(Ubuntu 16.04) = 1:2.2.18-2ubuntu2; = 1:2.2.22-1ubuntu1; = 1:2.2.22-1ubuntu2; = 1:2.2.22-1ubuntu2.1 +13 more No fix listed No fix yet
ubuntu/dovecot(Ubuntu Pro 14.04) = 1:2.1.7-7ubuntu3; = 1:2.2.9-1ubuntu1; = 1:2.2.9-1ubuntu2; = 1:2.2.9-1ubuntu2.1 +9 more No fix listed No fix yet
alpine/dovecot(Alpine v3.17) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5 Fixed
alpine/dovecot(Alpine v3.18) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5 Fixed
alpine/dovecot(Alpine v3.19) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5 Fixed
alpine/dovecot(Alpine v3.20) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5 Fixed
alpine/dovecot(Alpine v3.21) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5 Fixed
alpine/dovecot(Alpine v3.22) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5 Fixed
alpine/dovecot(Alpine v3.23) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5 Fixed
alpine/dovecot(Alpine v3.24) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5 Fixed
debian/dovecot(Debian 12) < 1:2.3.19.1+dfsg1-2 1:2.3.19.1+dfsg1-2 Fixed
debian/dovecot(Debian 13) < 1:2.3.19.1+dfsg1-2 1:2.3.19.1+dfsg1-2 Fixed
debian/dovecot(Debian 14) < 1:2.3.19.1+dfsg1-2 1:2.3.19.1+dfsg1-2 Fixed
dovecot = 2.2; >= 2.3, < 2.4.0 2.4.0 Fixed
ubuntu/dovecot(Ubuntu 18.04) < 1:2.2.33.2-1ubuntu4.8; = 1:2.2.27-3ubuntu1; = 1:2.2.33.2-1ubuntu1; = 1:2.2.33.2-1ubuntu2 +9 more 1:2.2.33.2-1ubuntu4.8 Fixed
ubuntu/dovecot(Ubuntu 20.04) < 1:2.3.7.2-1ubuntu3.6; = 1:2.3.4.1-5ubuntu3; = 1:2.3.7.2-1ubuntu1; = 1:2.3.7.2-1ubuntu2 +6 more 1:2.3.7.2-1ubuntu3.6 Fixed
ubuntu/dovecot(Ubuntu 22.04) < 1:2.3.16+dfsg1-3ubuntu2.1; = 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 Fixed
debian linux = 10.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ubuntu/dovecot(Ubuntu:22.04) < 1:2.3.16+dfsg1-3ubuntu2.1 1:2.3.16+dfsg1-3ubuntu2.1
dovecot >= 2.3, < 2.4.0 2.4.0
dovecot = 2.2 No fix listed
debian linux = 10.0 No fix listed
debian/dovecot(Debian:12) < 1:2.3.19.1+dfsg1-2 1:2.3.19.1+dfsg1-2
debian/dovecot(Debian:14) < 1:2.3.19.1+dfsg1-2 1:2.3.19.1+dfsg1-2
debian/dovecot(Debian:13) < 1:2.3.19.1+dfsg1-2 1:2.3.19.1+dfsg1-2
ubuntu/dovecot(Ubuntu:Pro:14.04) All versions No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.1.7-7ubuntu3 No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.2.9-1ubuntu1 No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.2.9-1ubuntu2 No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.2.9-1ubuntu2.1 No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.2.9-1ubuntu2.3 No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.2.9-1ubuntu2.4 No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.2.9-1ubuntu2.5 No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.2.9-1ubuntu2.6 No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.2.9-1ubuntu2.6+esm1 No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.2.9-1ubuntu2.6+esm2 No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.2.9-1ubuntu2.6+esm3 No fix listed
ubuntu/dovecot(Ubuntu:Pro:14.04) = 1:2.2.9-1ubuntu2.6+esm4 No fix listed
ubuntu/dovecot(Ubuntu:16.04) All versions No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.18-2ubuntu2 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu1 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.1 No fix listed
Show 46 more
ProductAffected versionsFixed in
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.2 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.3 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.4 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.6 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.7 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.8 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.9 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.10 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.11 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.12 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.13 No fix listed
ubuntu/dovecot(Ubuntu:16.04) = 1:2.2.22-1ubuntu2.14 No fix listed
ubuntu/dovecot(Ubuntu:18.04) < 1:2.2.33.2-1ubuntu4.8 1:2.2.33.2-1ubuntu4.8
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.27-3ubuntu1 No fix listed
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.33.2-1ubuntu1 No fix listed
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.33.2-1ubuntu2 No fix listed
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.33.2-1ubuntu3 No fix listed
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.33.2-1ubuntu4 No fix listed
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.33.2-1ubuntu4.1 No fix listed
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.33.2-1ubuntu4.2 No fix listed
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.33.2-1ubuntu4.3 No fix listed
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.33.2-1ubuntu4.4 No fix listed
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.33.2-1ubuntu4.5 No fix listed
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.33.2-1ubuntu4.6 No fix listed
ubuntu/dovecot(Ubuntu:18.04) = 1:2.2.33.2-1ubuntu4.7 No fix listed
ubuntu/dovecot(Ubuntu:20.04) < 1:2.3.7.2-1ubuntu3.6 1:2.3.7.2-1ubuntu3.6
ubuntu/dovecot(Ubuntu:20.04) = 1:2.3.4.1-5ubuntu3 No fix listed
ubuntu/dovecot(Ubuntu:20.04) = 1:2.3.7.2-1ubuntu1 No fix listed
ubuntu/dovecot(Ubuntu:20.04) = 1:2.3.7.2-1ubuntu2 No fix listed
ubuntu/dovecot(Ubuntu:20.04) = 1:2.3.7.2-1ubuntu3 No fix listed
ubuntu/dovecot(Ubuntu:20.04) = 1:2.3.7.2-1ubuntu3.1 No fix listed
ubuntu/dovecot(Ubuntu:20.04) = 1:2.3.7.2-1ubuntu3.2 No fix listed
ubuntu/dovecot(Ubuntu:20.04) = 1:2.3.7.2-1ubuntu3.3 No fix listed
ubuntu/dovecot(Ubuntu:20.04) = 1:2.3.7.2-1ubuntu3.4 No fix listed
ubuntu/dovecot(Ubuntu:20.04) = 1:2.3.7.2-1ubuntu3.5 No fix listed
ubuntu/dovecot(Ubuntu:22.04) = 1:2.3.13+dfsg1-1ubuntu3 No fix listed
ubuntu/dovecot(Ubuntu:22.04) = 1:2.3.16+dfsg1-3ubuntu1 No fix listed
ubuntu/dovecot(Ubuntu:22.04) = 1:2.3.16+dfsg1-3ubuntu2 No fix listed
alpine/dovecot(Alpine:v3.17) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5
alpine/dovecot(Alpine:v3.18) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5
alpine/dovecot(Alpine:v3.19) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5
alpine/dovecot(Alpine:v3.20) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5
alpine/dovecot(Alpine:v3.21) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5
alpine/dovecot(Alpine:v3.22) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5
alpine/dovecot(Alpine:v3.23) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5
alpine/dovecot(Alpine:v3.24) >= 2.3, < 2.3.19.1-r5 2.3.19.1-r5

References