CVE-2011-4318
Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the...
Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the proxy destination, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a valid certificate for a different hostname.
Exploit likelihood
What each source reports
NVD Score used
5.8
Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the proxy destination, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a valid certificate for a different hostname.
- Record
CVE-2011-4318- CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the proxy destination, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a valid certificate for a different hostname.
- Record
CVE-2011-4318- Updated
- 2026-11-02
EUVDEUVD-2011-4252 No score
Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the proxy destination, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a valid certificate for a different hostname.
- Record
EUVD-2011-4252- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w2rf-p589-jpp8 No score
Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the...
Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the proxy destination, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a valid certificate for a different hostname.
- Record
GHSA-w2rf-p589-jpp8- Weakness
- CWE-20
- Updated
- 2026-11-02
OSV No score
Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the proxy destination, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a valid certificate for a different hostname.
- Record
CVE-2011-4318- Updated
- 2026-11-02
OSVDEBIAN-CVE-2011-4318 No score
Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the proxy destination, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a valid certificate for a different hostname.
- Record
DEBIAN-CVE-2011-4318- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
dovecotDebian:12 |
before 1:2.0.18-1 | 1:2.0.18-1 |
dovecotDebian:13 |
before 1:2.0.18-1 | 1:2.0.18-1 |
dovecotDebian:14 |
before 1:2.0.18-1 | 1:2.0.18-1 |
dovecotRed Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
dovecot-debuginfoRed Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
dovecot-develRed Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
dovecot-mysqlRed Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
dovecot-pgsqlRed Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
dovecot-pigeonholeRed Hat:enterprise_linux:6::server From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
dovecotRed Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
dovecot-debuginfoRed Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
dovecot-develRed Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
dovecot-mysqlRed Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
dovecot-pgsqlRed Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
dovecot-pigeonholeRed Hat:enterprise_linux:6::workstation From an advisory covering 3 CVEs |
before 1:2.0.9-5.el6 | 1:2.0.9-5.el6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2011-4318 is a medium vulnerability (CVSS 5.8) in Dovecot, published March 7, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.32%, the 70th percentile. Fixed in dovecot 1:2.0.18-1.
References
secunia.com/advisories/46886
rhn.redhat.com/errata/RHSA-2013-0520.html
bugs.gentoo.org/show_bug.cgi?id=390887
bugzilla.redhat.com/show_bug.cgi?id=754980
secunia.com/advisories/52311
hg.dovecot.org/dovecot-2.0/rev/5e9eaf63a6b1
Show 19 moreShow less
dovecot.org/list/dovecot-news/2011-November/000200.html
openwall.com/lists/oss-security/2011/11/18/7
openwall.com/lists/oss-security/2011/11/18/5
nvd.nist.gov/vuln/detail/CVE-2011-4318
github.com/advisories/GHSA-w2rf-p589-jpp8
security-tracker.debian.org/tracker/CVE-2011-4318
access.redhat.com/errata/RHSA-2013:0520
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=709095
bugzilla.redhat.com/show_bug.cgi?id=709097
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0520.json
access.redhat.com/security/cve/CVE-2011-2166
cve.org/CVERecord?id=CVE-2011-2166
nvd.nist.gov/vuln/detail/CVE-2011-2166
access.redhat.com/security/cve/CVE-2011-2167
cve.org/CVERecord?id=CVE-2011-2167
nvd.nist.gov/vuln/detail/CVE-2011-2167
access.redhat.com/security/cve/CVE-2011-4318
cve.org/CVERecord?id=CVE-2011-4318