CVE-2017-1000369
Exim supports the use of multiple "-p" command line arguments which are malloc()'ed and never free()'ed, used in conjunction with other issues allows attackers to cause arbitrary code execution. This affects exim version 4.89 and earlier. Please note that at this time upstream has released a patch (commit 65e061b76867a9ea7aeeb535341b790b90ae6c21), but it is not known if a new point release is available that addresses this issue at this time.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | exim4 | Fixed | 4.86.2-2ubuntu2.2 | UBUNTU-CVE-2017-1000369 |
| Ubuntu 14.04 | exim4 | Fixed | 4.82-3ubuntu2.3 | UBUNTU-CVE-2017-1000369 |
| Debian 14 | exim4 | Fixed | 4.89-3 | DEBIAN-CVE-2017-1000369 |
| Debian 13 | exim4 | Fixed | 4.89-3 | DEBIAN-CVE-2017-1000369 |
| Debian 12 | exim4 | Fixed | 4.89-3 | DEBIAN-CVE-2017-1000369 |
| Red Hat Enterprise Linux 5 | exim | Will not fix Will not fix | ||
| Alpine Linux 3.24 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.23 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.22 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.21 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.20 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.19 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.18 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.17 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.16 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.15 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.14 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.13 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.12 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.11 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.10 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.9 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.8 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.7 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
| Alpine Linux 3.6 | exim | Fixed | 4.89-r5 | ALPINE-CVE-2017-1000369 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://security.gentoo.org/glsa/201709-19 (vendor-advisory)
- http://www.debian.org/security/2017/dsa-3888 (vendor-advisory)
References
- https://github.com/Exim/exim/commit/65e061b76867a9ea7aeeb535341b790b90ae6c21
- http://www.securitytracker.com/id/1038779
- http://www.securityfocus.com/bid/99252
- https://access.redhat.com/security/cve/CVE-2017-1000369
- https://security.gentoo.org/glsa/201709-19
- https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
- http://www.debian.org/security/2017/dsa-3888
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.