CVE Vulnerabilities

CVE-2022-30550

Improper Authentication

Published: Jul 17, 2022 | Modified: Jan 12, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
6.8 MODERATE
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Ubuntu
MEDIUM

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.

Weakness

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Affected Software

Name Vendor Start Version End Version
Dovecot Dovecot 2.3 (including) 2.3.20 (excluding)
Dovecot Dovecot 2.2 (including) 2.2 (including)
Red Hat Enterprise Linux 8 RedHat dovecot-1:2.3.16-3.el8 *
Red Hat Enterprise Linux 9 RedHat dovecot-1:2.3.16-7.el9 *
Dovecot Ubuntu bionic *
Dovecot Ubuntu focal *
Dovecot Ubuntu impish *
Dovecot Ubuntu jammy *
Dovecot Ubuntu kinetic *
Dovecot Ubuntu trusty *
Dovecot Ubuntu xenial *

Potential Mitigations

References