What’s Vulnerable › Vulnerabilities
CVE-2022-30550
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-07-17 · updated 2026-06-17
- Weakness: CWE-287
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.
Affected products
- Debian Linux: 10.0
- dovecot: from 2.3 before 2.4.0; 2.2 — fixed in 2.4.0
How to fix
Upgrade to a fixed version: dovecot 2.4.0. Check the vendor advisory for mitigations.
References
- https://dovecot.org/security
- https://lists.debian.org/debian-lts-announce/2022/09/msg00032.html
- https://security.gentoo.org/glsa/202310-19
- https://www.dovecot.org/download/
- https://www.openwall.com/lists/oss-security/2022/07/08/1
- https://dovecot.org/security
- https://lists.debian.org/debian-lts-announce/2022/09/msg00032.html
- https://security.gentoo.org/glsa/202310-19
- https://www.dovecot.org/download/
- https://www.openwall.com/lists/oss-security/2022/07/08/1
Get alerted when CVE-2022-30550 or the next vulnerability affects your stack