Vulnerability Name:

CVE-2018-5248 (CCN-137400)

Assigned:2018-01-05
Published:2018-01-05
Updated:2019-03-12
Summary:In ImageMagick 7.0.7-17 Q16, there is a heap-based buffer over-read in coders/sixel.c in the ReadSIXELImage function, related to the sixel_decode function.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
7.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
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:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
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-125
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2018-5248

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

Source: CCN
Type: BID-102431
ImageMagick CVE-2018-5248 Heap Buffer Overflow Vulnerability

Source: XF
Type: UNKNOWN
imagemagick-cve20185248-dos(137400)

Source: CCN
Type: ImageMagick GIT Repository
heap-buffer-overflow in sixel_decode #927

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

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

Source: DEBIAN
Type: Third Party Advisory
DSA-4204

Source: DEBIAN
Type: Third Party Advisory
DSA-4245

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

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

  • Configuration 3:
  • 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:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.artful:def:20185248000
    V
    CVE-2018-5248 on Ubuntu 17.10 (artful) - low.
    2018-01-05
    oval:com.ubuntu.bionic:def:201852480000000
    V
    CVE-2018-5248 on Ubuntu 18.04 LTS (bionic) - low.
    2018-01-05
    oval:com.ubuntu.bionic:def:20185248000
    V
    CVE-2018-5248 on Ubuntu 18.04 LTS (bionic) - low.
    2018-01-05
    oval:com.ubuntu.xenial:def:201852480000000
    V
    CVE-2018-5248 on Ubuntu 16.04 LTS (xenial) - low.
    2018-01-05
    oval:com.ubuntu.trusty:def:20185248000
    V
    CVE-2018-5248 on Ubuntu 14.04 LTS (trusty) - low.
    2018-01-05
    oval:com.ubuntu.xenial:def:20185248000
    V
    CVE-2018-5248 on Ubuntu 16.04 LTS (xenial) - low.
    2018-01-05
    BACK
    imagemagick imagemagick 7.0.7-17
    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
    canonical ubuntu linux 18.04