CVE-2022-30550

Name
CVE-2022-30550
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CONFIRM https://www.openwall.com/lists/oss-security/2022/07/08/1
MISC https://dovecot.org/security
MISC https://www.dovecot.org/download/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:dovecot:dovecot:*:*:*:*:*:*:*:* dovecot >= 2.3 < 2.3.20
cpe:2.3:a:dovecot:dovecot:2.2:*:*:*:*:*:*:* dovecot == None == 2.2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
dovecot 3.16-main 2.3.19.1-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
dovecot 3.15-main 2.3.17.1-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
dovecot 3.14-main 2.3.15-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
dovecot 3.13-main 2.3.15-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
dovecot edge-main 2.3.19.1-r3 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable