ALAS-2023-2365

Related Vulnerabilities: 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 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. (CVE-2022-30550)

ALAS-2023-2365


Amazon Linux 2 Security Advisory: ALAS-2023-2365
Advisory Release Date: 2023-11-29 22:20 Pacific
Advisory Updated Date: 2023-12-04 21:45 Pacific
Severity: Medium

Issue Overview:

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


Affected Packages:

dovecot


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update dovecot to update your system.

New Packages:
aarch64:
    dovecot-2.2.36-6.amzn2.1.1.aarch64
    dovecot-pigeonhole-2.2.36-6.amzn2.1.1.aarch64
    dovecot-pgsql-2.2.36-6.amzn2.1.1.aarch64
    dovecot-mysql-2.2.36-6.amzn2.1.1.aarch64
    dovecot-devel-2.2.36-6.amzn2.1.1.aarch64
    dovecot-debuginfo-2.2.36-6.amzn2.1.1.aarch64

i686:
    dovecot-2.2.36-6.amzn2.1.1.i686
    dovecot-pigeonhole-2.2.36-6.amzn2.1.1.i686
    dovecot-pgsql-2.2.36-6.amzn2.1.1.i686
    dovecot-mysql-2.2.36-6.amzn2.1.1.i686
    dovecot-devel-2.2.36-6.amzn2.1.1.i686
    dovecot-debuginfo-2.2.36-6.amzn2.1.1.i686

src:
    dovecot-2.2.36-6.amzn2.1.1.src

x86_64:
    dovecot-2.2.36-6.amzn2.1.1.x86_64
    dovecot-pigeonhole-2.2.36-6.amzn2.1.1.x86_64
    dovecot-pgsql-2.2.36-6.amzn2.1.1.x86_64
    dovecot-mysql-2.2.36-6.amzn2.1.1.x86_64
    dovecot-devel-2.2.36-6.amzn2.1.1.x86_64
    dovecot-debuginfo-2.2.36-6.amzn2.1.1.x86_64