CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in Exim Exim. In CISA KEV since 2021-11-03, with known ransomware use. EPSS 82% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2018-6789 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-6789?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-6789?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-6789 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| exim:exim | before 4.90.1 |
| debian:debian_linux | 7.0 |
| debian:debian_linux | 8.0 |
| debian:debian_linux | 9.0 |
| canonical:ubuntu_linux | 14.04 |
| canonical:ubuntu_linux | 16.04 |
| canonical:ubuntu_linux | 17.10 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 7 | exim4 | 4.80-7+deb7u6 | DLA-1274-1 |
| Debian | 8 | exim4 | 4.84.2-2+deb8u5 | DSA-4110-1 |
| Debian | 9 | exim4 | 4.89-2+deb9u3 | DSA-4110-1 |
| Debian | 12, 13, 14 | exim4 | 4.90.1-1 | DEBIAN-CVE-2018-6789 |
| Ubuntu | 14.04:LTS | exim4 | 4.82-3ubuntu2.4 | UBUNTU-CVE-2018-6789 USN-3565-1 |
| Ubuntu | 16.04:LTS | exim4 | 4.86.2-2ubuntu2.3 | UBUNTU-CVE-2018-6789 USN-3565-1 |
| SUSE | Package Hub 15 SP1 | exim | 4.94.2-bp151.2.4.1 | openSUSE-SU-2021:0753-1 |
| SUSE | Package Hub 15 SP1 | libspf2 | 1.2.10-bp151.4.1 | openSUSE-SU-2021:0753-1 |
| SUSE | Package Hub 15 SP2 | exim | 4.94.2-bp152.6.4.1 | openSUSE-SU-2021:0754-1 |
| SUSE | Package Hub 15 SP2 | libspf2 | 1.2.10-bp152.5.1 | openSUSE-SU-2021:0754-1 |
| openSUSE | Leap 15.2 | exim | 4.94.2-lp152.8.3.1 | openSUSE-SU-2021:0677-1 |
| openSUSE | Tumbleweed | exim | 4.94.2-4.2 | openSUSE-SU-2024:10746-1 |
| Alpine | v3.7, v3.8, v3.9 and 15 more | exim | 4.90.1-r0 | ALPINE-CVE-2018-6789 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.
Red Hat rates this Critical.
This issue affects the versions of Exim as shipped in Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is already in the Extended Life Phase of its life cycle and Exim is not on the list of components supported via Red Hat Enterprise Linux 5 Extended Life-cycle Support (ELS) add-on, therefore there's currently no plan to address this issue in Red Hat Enterprise Linux 5. For more information about Red Hat Enterprise Linux 5 life cycle and ELS add-on scope of support, see:
https://access.redhat.com/support/policy/updates/errata/#Extended_Life_Cycle_Phase
https://access.redhat.com/articles/2901071
The Exim mail server is not shipped in Red Hat Enterprise Linux 6 and 7.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | exim | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-6789.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).