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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3122-1 |
Debian Bugs | 1016351 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
dovecot (PTS) | jessie, jessie (lts) | 1:2.2.13-12~deb8u9 | fixed |
| stretch (security) | 1:2.2.27-3+deb9u7 | fixed |
| stretch (lts), stretch | 1:2.2.27-3+deb9u8 | fixed |
| buster, buster (lts) | 1:2.3.4.1-5+deb10u8 | fixed |
| buster (security) | 1:2.3.4.1-5+deb10u7 | fixed |
| bullseye | 1:2.3.13+dfsg1-2+deb11u1 | fixed |
| bullseye (security) | 1:2.3.13+dfsg1-2+deb11u2 | fixed |
| bookworm (security), bookworm | 1:2.3.19.1+dfsg1-2.1+deb12u1 | fixed |
| sid, trixie | 1:2.3.21.1+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
dovecot | source | jessie | (not affected) | | | |
dovecot | source | stretch | (not affected) | | | |
dovecot | source | buster | 1:2.3.4.1-5+deb10u7 | | DLA-3122-1 | |
dovecot | source | bullseye | 1:2.3.13+dfsg1-2+deb11u1 | | | |
dovecot | source | (unstable) | 1:2.3.19.1+dfsg1-2 | | | 1016351 |
Notes
https://www.openwall.com/lists/oss-security/2022/07/06/9
https://github.com/dovecot/core/commit/7bad6a24160e34bce8f10e73dbbf9e5fbbcd1904
https://github.com/dovecot/core/commit/a1022072e2ce36f853873d910287f466165b184b
[stretch] - dovecot <not-affected> (Vulnerable code introduced later)
[jessie] - dovecot <not-affected> (Vulnerable code introduced later)