A vulnerability has been discovered in Dovecot that can lead to a privilege escalation when master and non-master passdbs are used.
|Package||net-mail/dovecot on all architectures|
|Affected versions||< 22.214.171.124-r1|
|Unaffected versions||>= 126.96.36.199-r1|
Dovecot is an open source IMAP and POP3 email server.
A vulnerability has been discovered in Dovecot. Please review the CVE identifier referenced below for details.
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.
There is no known workaround at this time.
All Dovecot users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-mail/dovecot-188.8.131.52-r1"
October 30, 2023
October 30, 2023: 1
local and remote