Vulnerability Name:

CVE-2017-1000369 (CCN-127454)

Assigned:2017-06-19
Published:2017-06-19
Updated:2019-12-12
Summary: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.
CVSS v3 Severity:4.0 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
3.5 Low (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
8.4 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.3 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/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): Local
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
CVSS v2 Severity:2.1 Low (CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
7.2 High (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-404
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2017-1000369

Source: DEBIAN
Type: Third Party Advisory
DSA-3888

Source: BID
Type: Third Party Advisory, VDB Entry
99252

Source: CCN
Type: BID-99252
Exim CVE-2017-1000369 Local Privilege Escalation Vulnerability

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

Source: CONFIRM
Type: Vendor Advisory
https://access.redhat.com/security/cve/CVE-2017-1000369

Source: XF
Type: UNKNOWN
exim-cve20171000369-code-exec(127454)

Source: CCN
Type: Exim GIT Repository
Cleanup (prevent repeated use of -p/-oMr to avoid mem leak)

Source: MISC
Type: Mitigation, Third Party Advisory
https://github.com/Exim/exim/commit/65e061b76867a9ea7aeeb535341b790b90ae6c21

Source: GENTOO
Type: Third Party Advisory
GLSA-201709-19

Source: CCN
Type: Qualys Security Advisory QSA - 2017-06-19
The Stack Clash

Source: MISC
Type: Third Party Advisory
https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt

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

Vulnerable Configuration:Configuration 1:
  • cpe:/a:exim:exim:*:*:*:*:*:*:*:* (Version <= 4.87.1)
  • OR cpe:/a:exim:exim:4.88:-:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.88:rc1:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.88:rc2:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.88:rc3:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.88:rc4:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.88:rc5:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.88:rc6:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.89:-:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.89:rc1:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.89:rc2:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.89:rc3:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.89:rc4:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.89:rc5:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.89:rc6:*:*:*:*:*:*
  • OR cpe:/a:exim:exim:4.89:rc7:*:*:*:*:*:*

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

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

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20171000369
    V
    CVE-2017-1000369
    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: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:11217
    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:20171000369000
    V
    CVE-2017-1000369 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-06-19
    oval:com.ubuntu.xenial:def:20171000369000
    V
    CVE-2017-1000369 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-06-19
    oval:com.ubuntu.xenial:def:201710003690000000
    V
    CVE-2017-1000369 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-06-19
    BACK
    exim exim *
    exim exim 4.88 -
    exim exim 4.88 rc1
    exim exim 4.88 rc2
    exim exim 4.88 rc3
    exim exim 4.88 rc4
    exim exim 4.88 rc5
    exim exim 4.88 rc6
    exim exim 4.89 -
    exim exim 4.89 rc1
    exim exim 4.89 rc2
    exim exim 4.89 rc3
    exim exim 4.89 rc4
    exim exim 4.89 rc5
    exim exim 4.89 rc6
    exim exim 4.89 rc7
    debian debian linux 8.0
    debian debian linux 9.0
    exim exim 4.89