Vulnerability Name:

CVE-2018-5358 (CCN-137602)

Assigned:2018-01-12
Published:2018-01-12
Updated:2019-10-03
Summary:ImageMagick 7.0.7-22 Q16 has memory leaks in the EncodeImageAttributes function in coders/json.c, as demonstrated by the ReadPSDLayersInternal function in coders/psd.c.
CVSS v3 Severity:6.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)
5.7 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/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): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
3.3 Low (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)
2.9 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Low
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
1.7 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-772
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2018-5358

Source: XF
Type: UNKNOWN
imagemagick-cve20185358-dos(137602)

Source: CCN
Type: ImageMagick GIT Repository
memory leaks #939

Source: CONFIRM
Type: Exploit, Third Party Advisory
https://github.com/ImageMagick/ImageMagick/issues/939

Source: UBUNTU
Type: Third Party Advisory
USN-3681-1

Vulnerable Configuration:Configuration 1:
  • cpe:/a:imagemagick:imagemagick:7.0.7-22:q16:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

  • Configuration CCN 1:
  • cpe:/a:imagemagick:imagemagick:7.0.7-22:q16:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.artful:def:20185358000
    V
    CVE-2018-5358 on Ubuntu 17.10 (artful) - low.
    2018-01-12
    oval:com.ubuntu.bionic:def:201853580000000
    V
    CVE-2018-5358 on Ubuntu 18.04 LTS (bionic) - low.
    2018-01-12
    oval:com.ubuntu.bionic:def:20185358000
    V
    CVE-2018-5358 on Ubuntu 18.04 LTS (bionic) - low.
    2018-01-12
    oval:com.ubuntu.xenial:def:201853580000000
    V
    CVE-2018-5358 on Ubuntu 16.04 LTS (xenial) - low.
    2018-01-12
    oval:com.ubuntu.trusty:def:20185358000
    V
    CVE-2018-5358 on Ubuntu 14.04 LTS (trusty) - low.
    2018-01-12
    oval:com.ubuntu.xenial:def:20185358000
    V
    CVE-2018-5358 on Ubuntu 16.04 LTS (xenial) - low.
    2018-01-12
    BACK
    imagemagick imagemagick 7.0.7-22 q16
    canonical ubuntu linux 14.04
    canonical ubuntu linux 16.04
    canonical ubuntu linux 17.10
    canonical ubuntu linux 18.04
    imagemagick imagemagick 7.0.7-22 q16