Vulnerability Name:

CVE-2017-16943 (CCN-135483)

Assigned:2017-11-25
Published:2017-11-25
Updated:2021-05-04
Summary: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.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-416
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2017-16943

Source: MISC
Type: Mailing List
http://openwall.com/lists/oss-security/2017/11/25/1

Source: MISC
Type: Mailing List
http://openwall.com/lists/oss-security/2017/11/25/2

Source: MISC
Type: Mailing List
http://openwall.com/lists/oss-security/2017/11/25/3

Source: MLIST
Type: UNKNOWN
[oss-security] 20210504 21Nails: Multiple vulnerabilities in Exim

Source: SECTRACK
Type: Third Party Advisory, VDB Entry
1039872

Source: CCN
Type: Bugzilla – Bug 2199
Exim use-after-free vulnerability while reading mail header

Source: MISC
Type: Exploit, Issue Tracking
https://bugs.exim.org/show_bug.cgi?id=2199

Source: XF
Type: UNKNOWN
exim-cve201716943-code-exec(135483)

Source: MISC
Type: Patch
https://git.exim.org/exim.git/commit/4090d62a4b25782129cc1643596dc2f6e8f63bde

Source: CCN
Type: Exim GIT Repository
Avoid release of store if there have been later allocations. Bug 2199

Source: MISC
Type: Patch
https://git.exim.org/exim.git/commitdiff/4e6ae6235c68de243b1c2419027472d7659aa2b4

Source: MISC
Type: Exploit
https://github.com/LetUsFsck/PoC-Exploit-Mirror/tree/master/CVE-2017-16944

Source: MISC
Type: Mailing List
https://lists.exim.org/lurker/message/20171125.034842.d1d75cac.en.html

Source: DEBIAN
Type: Third Party Advisory
DSA-4053

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2017-16943

Vulnerable Configuration:Configuration 1:
  • cpe:/a:exim:exim:4.89:-:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.88:-:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:exim:exim:4.89:*:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.88:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:201716943
    V
    CVE-2017-16943
    2022-06-30
    oval:org.opensuse.security:def:112207
    P
    exim-4.94.2-4.2 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:100366
    P
    (Moderate)
    2021-12-16
    oval:org.opensuse.security:def:105738
    P
    exim-4.94.2-4.2 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:11217
    P
    Security update for exim (Critical)
    2021-05-20
    oval:org.opensuse.security:def:103174
    P
    Security update for exim (Critical)
    2021-05-20
    oval:org.opensuse.security:def:107032
    P
    Security update for exim (Critical)
    2021-05-20
    oval:org.opensuse.security:def:93653
    P
    Security update for exim (Critical)
    2021-05-20
    oval:org.opensuse.security:def:109831
    P
    Security update for exim (Critical)
    2021-05-20
    oval:org.opensuse.security:def:96484
    P
    Security update for exim (Critical)
    2021-05-20
    oval:org.opensuse.security:def:11216
    P
    Security update for exim (Critical)
    2021-05-20
    oval:org.opensuse.security:def:111368
    P
    Security update for exim (Critical)
    2021-05-07
    oval:com.ubuntu.trusty:def:201716943000
    V
    CVE-2017-16943 on Ubuntu 14.04 LTS (trusty) - high.
    2017-11-27
    oval:com.ubuntu.xenial:def:201716943000
    V
    CVE-2017-16943 on Ubuntu 16.04 LTS (xenial) - high.
    2017-11-27
    oval:com.ubuntu.artful:def:201716943000
    V
    CVE-2017-16943 on Ubuntu 17.10 (artful) - high.
    2017-11-25
    oval:com.ubuntu.xenial:def:2017169430000000
    V
    CVE-2017-16943 on Ubuntu 16.04 LTS (xenial) - high.
    2017-11-25
    BACK
    exim exim 4.89 -
    exim exim 4.88 -
    debian debian linux 9.0
    exim exim 4.89
    exim exim 4.88