Name | CVE-2017-16943 |
Description | The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via vectors involving BDAT commands. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4053-1 |
Debian Bugs | 882648 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
exim4 (PTS) | jessie, jessie (lts) | 4.84.2-2+deb8u12 | fixed |
| stretch (security) | 4.89-2+deb9u8 | fixed |
| stretch (lts), stretch | 4.89-2+deb9u13 | fixed |
| buster, buster (lts) | 4.92-8+deb10u10 | fixed |
| buster (security) | 4.92-8+deb10u9 | fixed |
| bullseye | 4.94.2-7+deb11u3 | fixed |
| bullseye (security) | 4.94.2-7+deb11u4 | fixed |
| bookworm | 4.96-15+deb12u6 | fixed |
| bookworm (security) | 4.96-15+deb12u5 | fixed |
| sid, trixie | 4.98-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
exim4 | source | wheezy | (not affected) | | | |
exim4 | source | jessie | (not affected) | | | |
exim4 | source | stretch | 4.89-2+deb9u2 | | DSA-4053-1 | |
exim4 | source | (unstable) | 4.89-12 | | | 882648 |
Notes
[jessie] - exim4 <not-affected> (ESMTP CHUNKING extension introduced in 4.88)
[wheezy] - exim4 <not-affected> (ESMTP CHUNKING extension introduced in 4.88)
https://bugs.exim.org/show_bug.cgi?id=2199
https://git.exim.org/exim.git/commitdiff/4e6ae6235c68de243b1c2419027472d7659aa2b4
https://lists.exim.org/lurker/message/20171125.034842.d1d75cac.en.html
https://twitter.com/philpennock/status/934270613811875840
4.89-10 adds a workaround which disables the affected code by default