Gentoo Linux Security Advisory 202310-19 - A vulnerability has been discovered in Dovecot that can lead to a privilege escalation when master and non-master passdbs are used. Versions greater than or equal to 2.3.19.1-r1 are affected.
7d5b178b888666bb41a4b00c126e67dcfd03c3815a0b2193c4d0a4211d3ac5f5
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 202310-19
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: Dovecot: Privilege Escalation
Date: October 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
---------------- ------------- --------------
net-mail/dovecot < 2.3.19.1-r1 >= 2.3.19.1-r1
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
==========
[ 1 ] CVE-2022-30550
https://nvd.nist.gov/vuln/detail/CVE-2022-30550
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202310-19
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 2023 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.
https://creativecommons.org/licenses/by-sa/2.5