GLSA 202310-19: Dovecot: Privilege Escalation

Severity:normal
Title:Dovecot: Privilege Escalation
Date:10/30/2023
Bugs: #856733
ID:202310-19

Synopsis

A vulnerability has been discovered in Dovecot that can lead to a privilege escalation when master and non-master passdbs are used.

Background

Dovecot is an open source IMAP and POP3 email server.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-mail/dovecot < 2.3.19.1-r1 >= 2.3.19.1-r1 All supported architectures

Description

A vulnerability has been discovered in Dovecot. Please review the CVE identifier referenced below for details.

Impact

When two passdb configuration entries exist in Dovecot configuration, which have the same driver and args settings, the 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 with certain configurations involving master user authentication. Dovecot documentation does not advise against the use of passdb definitions which 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.

Workaround

There is no known workaround at this time.

Resolution

All Dovecot users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=net-mail/dovecot-2.3.19.1-r1"
        

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202310-19.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!