Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677350 (CVE-2019-3814) - <net-mail/dovecot- Suitable client certificate can be used to login as other user (CVE-2019-3814)
Summary: <net-mail/dovecot- Suitable client certificate can be used to login a...
Alias: CVE-2019-3814
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: B2 [glsa+ glsa+ blocked]
Depends on: CVE-2019-7524
  Show dependency tree
Reported: 2019-02-06 13:39 UTC by Jeroen Roovers (RETIRED)
Modified: 2019-04-17 18:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2019-02-06 13:39:48 UTC
Product: Dovecot
Vendor: Open-Xchange Oy
Internal reference: DOV-2890 (Bug ID)
Vulnerability type: Improper Authentication - Generic (CWE287)
Vulnerable versions: 1.1.0 - 2.2.36 and 2.3.0 - 2.3.4
Vulnerable component: authentication
Report confidence: Confirmed
Solution status: Fixed by Vendor
Fixed versions:,
Vendor notification: 2019-01-16
Solution date: 2019-01-20
Public disclosure: 2019-02-05
Researcher Credits:
CVE reference: CVE-2019-3814

Vulnerability Details:
Normally Dovecot is configured to authenticate
imap/pop3/managesieve/submission clients using regular username/password
combination. Some installations have also required clients to present a
trusted SSL certificate on top of that. It's also possible to configure
Dovecot to take the username from the certificate instead of from the
user provided authentication. It's also possible to avoid having a
password at all, only trusting the SSL certificate.

If the provided trusted SSL certificate is missing the username field,
Dovecot should be failing the authentication. However, the earlier
versions will take the username from the user provided authentication
fields (e.g. LOGIN command). If there is no additional password
verification, this allows the attacker to login as anyone else in the

Comment 1 Larry the Git Cow gentoo-dev 2019-02-07 05:59:16 UTC
The bug has been referenced in the following commit(s):

commit 1ed10b03e89977986561e20a4bd53b5273b5272a
Author:     Eray Aslan <>
AuthorDate: 2019-02-07 05:57:25 +0000
Commit:     Eray Aslan <>
CommitDate: 2019-02-07 05:58:27 +0000

    net-mail/dovecot: security bump to
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Eray Aslan <>

 net-mail/dovecot/Manifest               |   1 +
 net-mail/dovecot/dovecot- | 293 ++++++++++++++++++++++++++++++++
 2 files changed, 294 insertions(+)
Comment 2 Tomáš Mózes 2019-02-20 08:27:18 UTC
Time to stabilize?
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2019-04-11 21:27:13 UTC
@maintainer, which version do you want to stabilize here? is stable on most already... just need to pickup alpha and s390.
Comment 4 Eray Aslan gentoo-dev 2019-04-12 05:21:36 UTC
We should go with stabilizing net-mail/dovecot- at bug #681922
Comment 5 GLSAMaker/CVETool Bot gentoo-dev 2019-04-17 18:34:01 UTC
This issue was resolved and addressed in
 GLSA 201904-19 at
by GLSA coordinator Aaron Bauman (b-man).