portage-ng / portage / net-mail / dovecot / 2.4.3
portage-ng glsa
11 advisories reference net-mail/dovecot · none place version 2.4.3 in a vulnerable range
▸ GLSA 202310-19 Dovecot: Privilege Escalation this version unaffected normal local and remote 2023-10-30

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

Announced
2023-10-30
Revised
2023-10-30
Access
local and remote
Bugs
#856733
Advisory
https://security.gentoo.org/glsa/202310-19

Affected packages

PackageArchVulnerableUnaffected
net-mail/dovecot*< 2.3.19.1-r1>= 2.3.19.1-r1

Background

Dovecot is an open source IMAP and POP3 email server.

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

▸ GLSA 202107-41 Dovecot: Multiple vulnerabilities this version unaffected low remote 2021-07-18

Multiple vulnerabilities have been found in Dovecot, the worst of which could result in a Denial of Service condition.

Announced
2021-07-18
Revised
2021-07-18 (revision 2)
Access
remote
Bugs
#797349
Advisory
https://security.gentoo.org/glsa/202107-41

Affected packages

PackageArchVulnerableUnaffected
net-mail/dovecot*< 2.3.14.1>= 2.3.14.1

Background

Dovecot is an open source IMAP and POP3 email server.

Description

Multiple vulnerabilities have been discovered in Dovecot. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

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.14.1"

References

▸ GLSA 202101-01 Dovecot: Multiple vulnerabilities this version unaffected normal local, remote 2021-01-10

Multiple vulnerabilities have been found in Dovecot, the worst of which could allow remote attackers to cause a Denial of Service condition.

Announced
2021-01-10
Revised
2021-01-10
Access
local, remote
Bugs
#763525
Advisory
https://security.gentoo.org/glsa/202101-01

Affected packages

PackageArchVulnerableUnaffected
net-mail/dovecot*< 2.3.13>= 2.3.13

Background

Dovecot is an open source IMAP and POP3 email server.

Description

Multiple vulnerabilities have been discovered in Dovecot. Please review the CVE identifiers referenced below for details.

Impact

A remote attacker could send a specially crafted mail or send a specially crafted IMAP command possibly resulting in a Denial of Service condition or an authenticated remote attacker might be able to discover the file system directory structure and access other users’ emails.

Workaround

The information disclosure vulnerability can be mitigated by disabling IMAP hibernation feature which isn’t enabled by default.

Resolution

All Dovecot users should upgrade to the latest version:

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

References

▸ GLSA 202009-02 Dovecot: Multiple vulnerabilities this version unaffected normal remote 2020-09-06

Multiple vulnerabilities have been found in Dovecot, the worst of which could allow remote attackers to cause a Denial of Service condition.

Announced
2020-09-06
Revised
2020-09-06
Access
remote
Bugs
#736617
Advisory
https://security.gentoo.org/glsa/202009-02

Affected packages

PackageArchVulnerableUnaffected
net-mail/dovecot*< 2.3.11.3>= 2.3.11.3

Background

Dovecot is an open source IMAP and POP3 email server.

Description

It was discovered that Dovecot incorrectly handled deeply nested MIME parts, incorrectly handled memory when using NTLM, and incorrectly handled zero-length messages.

Impact

A remote attacker could send a specially crafted mail or send specially crafted authentication requests possibly resulting in a Denial of Service condition.

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.11.3"

References

▸ GLSA 201908-29 Dovecot: Multiple vulnerabilities this version unaffected normal local, remote 2019-08-31

Multiple vulnerabilities have been found in Dovecot, the worst of which could result in the arbitrary execution of code.

Announced
2019-08-31
Revised
2019-08-31
Access
local, remote
Bugs
#683732 #692572
Advisory
https://security.gentoo.org/glsa/201908-29

Affected packages

PackageArchVulnerableUnaffected
net-mail/dovecot*< 2.3.7.2>= 2.3.7.2

Background

Dovecot is an open source IMAP and POP3 email server.

Description

Multiple vulnerabilities have been discovered in Dovecot. Please review the CVE identifiers referenced below for details.

Impact

An unauthenticated remote attacker could send a specially crafted mail or use crafted IMAP commands possibly resulting in the execution of arbitrary code with the privileges of the process or a Denial of Service condition.

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.7.2"

References

▸ GLSA 201904-19 Dovecot: Multiple vulnerabilities this version unaffected normal remote 2019-04-17

Multiple vulnerabilities have been found in Dovecot, the worst of which could result in root privilege escalation.

Announced
2019-04-17
Revised
2019-04-17
Access
remote
Bugs
#677350 #681922
Advisory
https://security.gentoo.org/glsa/201904-19

Affected packages

PackageArchVulnerableUnaffected
net-mail/dovecot*< 2.3.5.1>= 2.3.5.1

Background

Dovecot is an open source IMAP and POP3 email server.

Description

Multiple vulnerabilities have been discovered in Dovecot. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details

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.5.1"

References

▸ GLSA 201412-03 Dovecot: Denial of service this version unaffected normal remote 2014-12-08

A vulnerability in Dovecot could allow a remote attacker to create a Denial of Service condition.

Announced
2014-12-08
Revised
2014-12-08
Access
remote
Bugs
#509954
Advisory
https://security.gentoo.org/glsa/201412-03

Affected packages

PackageArchVulnerableUnaffected
net-mail/dovecot*< 2.2.13>= 2.2.13

Background

Dovecot is an open source IMAP and POP3 email server.

Description

Dovecot does not properly close connections, allowing a resource exhaustion for incomplete SSL/TLS handshakes.

Impact

A remote attacker could possibly cause a Denial of Service condition.

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.2.13"

References

▸ GLSA 201110-04 Dovecot: Multiple vulnerabilities this version unaffected high remote 2011-10-10

Multiple vulnerabilities were found in Dovecot, the worst of which allowing for remote execution of arbitrary code.

Announced
2011-10-10
Revised
2011-10-10 (revision 2)
Access
remote
Bugs
#286844 #293954 #314533 #368653
Advisory
https://security.gentoo.org/glsa/201110-04

Affected packages

PackageArchVulnerableUnaffected
net-mail/dovecot*< 2.0.13>= 1.2.17 (revision), >= 2.0.13

Background

Dovecot is an IMAP and POP3 server written with security primarily in mind.

Description

Multiple vulnerabilities have been discovered in Dovecot. Please review the CVE identifiers referenced below for details.

Impact

A remote attacker could exploit these vulnerabilities to cause the remote execution of arbitrary code, or a Denial of Service condition, to conduct directory traversal attacks, corrupt data, or disclose information.

Workaround

There is no known workaround at this time.

Resolution

All Dovecot 1 users should upgrade to the latest version:

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

All Dovecot 2 users should upgrade to the latest version:

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

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since May 28, 2011. It is likely that your system is already no longer affected by this issue.

References

▸ GLSA 200812-16 Dovecot: Multiple vulnerabilities this version unaffected normal remote 2008-12-14

Multiple vulnerabilities were found in the Dovecot mailserver.

Announced
2008-12-14
Revised
2008-12-14
Access
remote
Bugs
#240409 #244962 #245316
Advisory
https://security.gentoo.org/glsa/200812-16

Affected packages

PackageArchVulnerableUnaffected
net-mail/dovecot*< 1.1.7-r1>= 1.1.7-r1

Background

Dovecot is an IMAP and POP3 server written with security primarily in mind.

Description

Several vulnerabilities were found in Dovecot:

  • The "k" right in the acl_plugin does not work as expected (CVE-2008-4577, CVE-2008-4578)
  • The dovecot.conf is world-readable, providing improper protection for the ssl_key_password setting (CVE-2008-4870)
  • A permanent Denial of Service with broken mail headers is possible (CVE-2008-4907)

Impact

These vulnerabilities might allow a remote attacker to cause a Denial of Service, to circumvent security restrictions or allow local attackers to disclose the passphrase of the SSL private key.

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-1.1.7-r1"

Users should be aware that dovecot.conf will still be world-readable after the update. If employing ssl_key_password, it should not be used in dovecot.conf but in a separate file which should be included with "include_try".

References

▸ GLSA 200803-30 ssl-cert eclass: Certificate disclosure this version unaffected normal remote 2008-03-20

An error in the usage of the ssl-cert eclass within multiple ebuilds might allow for disclosure of generated SSL private keys.

Announced
2008-03-20
Revised
2008-03-20
Access
remote
Bugs
#174759
Advisory
https://security.gentoo.org/glsa/200803-30

Affected packages

PackageArchVulnerableUnaffected
app-admin/conserver*< 8.1.16>= 8.1.16
mail-mta/postfix*< 2.4.6-r2>= 2.4.6-r2, >= 2.3.8-r1 (revision), >= 2.2.11-r1 (revision)
net-ftp/netkit-ftpd*< 0.17-r7>= 0.17-r7
net-im/ejabberd*< 1.1.3>= 1.1.3
net-irc/unrealircd*< 3.2.7-r2>= 3.2.7-r2
net-mail/cyrus-imapd*< 2.3.9-r1>= 2.3.9-r1
net-mail/dovecot*< 1.0.10>= 1.0.10
net-misc/stunnel*< 4.21-r1>= 4.21-r1, < 4.0
net-nntp/inn*< 2.4.3-r1>= 2.4.3-r1

Background

The ssl-cert eclass is a code module used by Gentoo ebuilds to generate SSL certificates.

Description

Robin Johnson reported that the docert() function provided by ssl-cert.eclass can be called by source building stages of an ebuild, such as src_compile() or src_install(), which will result in the generated SSL keys being included inside binary packages (binpkgs).

Impact

A local attacker could recover the SSL keys from publicly readable binary packages when "emerge" is called with the "--buildpkg (-b)" or "--buildpkgonly (-B)" option. Remote attackers can recover these keys if the packages are served to a network. Binary packages built using "quickpkg" are not affected.

Workaround

Do not use pre-generated SSL keys, but use keys that were generated using a different Certificate Authority.

Resolution

Upgrading to newer versions of the above packages will neither remove possibly compromised SSL certificates, nor old binary packages. Please remove the certificates installed by Portage, and then emerge an upgrade to the package.

All Conserver users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/conserver-8.1.16"

All Postfix 2.4 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-mta/postfix-2.4.6-r2"

All Postfix 2.3 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-mta/postfix-2.3.8-r1"

All Postfix 2.2 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-mta/postfix-2.2.11-r1"

All Netkit FTP Server users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-ftp/netkit-ftpd-0.17-r7"

All ejabberd users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-im/ejabberd-1.1.3"

All UnrealIRCd users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-irc/unrealircd-3.2.7-r2"

All Cyrus IMAP Server users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/cyrus-imapd-2.3.9-r1"

All Dovecot users should upgrade to the latest version:

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

All stunnel 4 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/stunnel-4.21"

All InterNetNews users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-nntp/inn-2.4.3-r1"

References

▸ GLSA 200803-25 Dovecot: Multiple vulnerabilities this version unaffected normal remote 2008-03-18

Two vulnerabilities in Dovecot allow for information disclosure and argument injection.

Announced
2008-03-18
Revised
2008-03-18
Access
remote
Bugs
#212336 #213030
Advisory
https://security.gentoo.org/glsa/200803-25

Affected packages

PackageArchVulnerableUnaffected
net-mail/dovecot*< 1.0.13-r1>= 1.0.13-r1

Background

Dovecot is a lightweight, fast and easy to configure IMAP and POP3 mail server.

Description

Dovecot uses the group configured via the "mail_extra_groups" setting, which should be used to create lockfiles in the /var/mail directory, when accessing arbitrary files (CVE-2008-1199). Dovecot does not escape TAB characters in passwords when saving them, which might allow for argument injection in blocking passdbs such as MySQL, PAM or shadow (CVE-2008-1218).

Impact

Remote attackers can exploit the first vulnerability to disclose sensitive data, such as the mail of other users, or modify files or directories that are writable by group via a symlink attack. Please note that the "mail_extra_groups" setting is set to the "mail" group by default when the "mbox" USE flag is enabled.

The second vulnerability can be abused to inject arguments for internal fields. No exploitation vectors are known for this vulnerability that affect previously stable versions of Dovecot in Gentoo.

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-1.0.13-r1"

This version removes the "mail_extra_groups" option and introduces a "mail_privileged_group" setting which is handled safely.

References