CVE-2017-2669
[UNKNOWN] dovecot: Improper Input Validation
Check your servers for CVE-2017-2669
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2017-2669 affects dovecot, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage causing the process to crash (and restart), or excessive CPU usage causing all authentications to hang.
Severity (CVSS)
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 4.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 91.9% of all scored CVEs. Scores of 27 Nov 2026.
Weakness
- CWE-20 Improper Input Validation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
dovecot
[UNKNOWN]
|
affected dovecot 2.2.29
|
Is my server affected?
Find the installed version of dovecot and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i dovecot
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2017-2669 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-2669RHEL, Rocky, Alma, Fedora
rpm -q dovecot
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-2669Alpine
apk list --installed | grep -i dovecotWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2017-2669
trivy image --scanners vuln IMAGE | grep CVE-2017-2669
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the agent.
References
Advisories
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-2669 bugzilla.redhat.com
- https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735.patch github.com
- DSA-3828 debian.org · vendor advisory
Other references
- [dovecot-news] 20170410 v2.2.29 released dovecot.org · mailing list
- [oss-security] 20170411 CVE-2017-2669: Dovecot DoS when passdb dict was used for authentication openwall.com · mailing list
- 97536 securityfocus.com · vdb entry
Source: the record CVE-2017-2669 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse