Vulnerability Name:

CVE-2016-5240 (CCN-114231)

Assigned:2016-05-01
Published:2016-05-01
Updated:2018-05-18
Summary:The DrawDashPolygon function in magick/render.c in GraphicsMagick before 1.3.24 and the SVG renderer in ImageMagick allow remote attackers to cause a denial of service (infinite loop) by converting a circularly defined SVG file.
CVSS v3 Severity:5.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)
4.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/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): 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): High
4.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)
3.8 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/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): 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): 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
4.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
4.3 Medium (REDHAT 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
Vulnerability Type:CWE-20
CWE-835
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2016-5240

Source: CONFIRM
Type: Issue Tracking, Patch, Vendor Advisory
http://hg.graphicsmagick.org/hg/GraphicsMagick?cmd=changeset;node=ddc999ec896c

Source: CCN
Type: RHSA-2016-1237
Important: ImageMagick security update

Source: DEBIAN
Type: UNKNOWN
DSA-3746

Source: CONFIRM
Type: Release Notes, Vendor Advisory
http://www.graphicsmagick.org/ChangeLog-2016.html

Source: CCN
Type: IBM Security Bulletin T1023934 (PowerKVM)
Multiple vulnerabilities in ImageMagick affect PowerKVM

Source: CCN
Type: ImageMagick Web site
Introduction to ImageMagick

Source: MLIST
Type: Mailing List, Third Party Advisory
[oss-security] 20160501 CVE request: DoS in multiple versions of GraphicsMagick

Source: MLIST
Type: Mailing List, Third Party Advisory
[oss-security] 20160501 Re: CVE request: DoS in multiple versions of GraphicsMagick

Source: MLIST
Type: Mailing List, Third Party Advisory
[oss-security] 20160602 Re: CVE request: DoS in multiple versions of GraphicsMagick

Source: CONFIRM
Type: UNKNOWN
http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html

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

Source: CCN
Type: BID-89348
GraphicsMagick Multiple Denial of Service Vulnerabilities

Source: REDHAT
Type: UNKNOWN
RHSA-2016:1237

Source: CCN
Type: Red Hat Bugzilla – Bug 1333417
(CVE-2016-5240) CVE-2016-5240 ImageMagick: SVG converting issue resulting in DoS

Source: XF
Type: UNKNOWN
imagemagick-cve20165240-dos(114231)

Source: CCN
Type: ImageMagick GIT Repository
ImageMagick

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2016-5240

Vulnerable Configuration:Configuration 1:
  • cpe:/a:graphicsmagick:graphicsmagick:*:*:*:*:*:*:*:* (Version <= 1.3.23)

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:6:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:6::client:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:6::computenode:*:*:*:*:*

  • Configuration RedHat 4:
  • cpe:/o:redhat:enterprise_linux:6::server:*:*:*:*:*

  • Configuration RedHat 5:
  • cpe:/o:redhat:enterprise_linux:6::workstation:*:*:*:*:*

  • Configuration RedHat 6:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*

  • Configuration RedHat 7:
  • cpe:/o:redhat:enterprise_linux:7::client:*:*:*:*:*

  • Configuration RedHat 8:
  • cpe:/o:redhat:enterprise_linux:7::computenode:*:*:*:*:*

  • Configuration RedHat 9:
  • cpe:/o:redhat:enterprise_linux:7::server:*:*:*:*:*

  • Configuration RedHat 10:
  • cpe:/o:redhat:enterprise_linux:7::workstation:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:imagemagick:imagemagick:-:*:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:powerkvm:2.1:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_desktop:7:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_hpc_node:7:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server:7:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_workstation:7:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_desktop:6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_hpc_node:6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server:6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_workstation:6:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20165240
    V
    CVE-2016-5240
    2021-08-15
    oval:org.opensuse.security:def:27109
    P
    dhcp on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26491
    P
    Security update for nextcloud (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:27255
    P
    opie on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26821
    P
    squid3 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:27158
    P
    kdelibs3 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26555
    P
    glib2 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:27893
    P
    Security update for shim
    2020-12-01
    oval:org.opensuse.security:def:26905
    P
    glibc on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26479
    P
    Security update for chromium (Important)
    2020-12-01
    oval:org.opensuse.security:def:27197
    P
    libmusicbrainz4 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26683
    P
    dbus-1 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:27928
    P
    Security update for GraphicsMagick (Important)
    2020-12-01
    oval:org.opensuse.security:def:27056
    P
    xdg-utils on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26480
    P
    Security update for okular (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:27211
    P
    libpython2_6-1_0 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26764
    P
    librpcsecgss on GA media (Moderate)
    2020-12-01
    oval:com.ubuntu.xenial:def:201652400000000
    V
    CVE-2016-5240 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-02-27
    oval:com.ubuntu.precise:def:20165240000
    V
    CVE-2016-5240 on Ubuntu 12.04 LTS (precise) - medium.
    2017-02-27
    oval:com.ubuntu.artful:def:20165240000
    V
    CVE-2016-5240 on Ubuntu 17.10 (artful) - medium.
    2017-02-27
    oval:com.ubuntu.trusty:def:20165240000
    V
    CVE-2016-5240 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-02-27
    oval:com.ubuntu.cosmic:def:201652400000000
    V
    CVE-2016-5240 on Ubuntu 18.10 (cosmic) - medium.
    2017-02-27
    oval:com.ubuntu.bionic:def:20165240000
    V
    CVE-2016-5240 on Ubuntu 18.04 LTS (bionic) - medium.
    2017-02-27
    oval:com.ubuntu.xenial:def:20165240000
    V
    CVE-2016-5240 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-02-27
    oval:com.ubuntu.bionic:def:201652400000000
    V
    CVE-2016-5240 on Ubuntu 18.04 LTS (bionic) - medium.
    2017-02-27
    oval:com.ubuntu.cosmic:def:20165240000
    V
    CVE-2016-5240 on Ubuntu 18.10 (cosmic) - medium.
    2017-02-27
    oval:org.cisecurity:def:1656
    P
    DSA-3746-1 -- graphicsmagick -- security update
    2017-01-27
    oval:com.redhat.rhsa:def:20161237
    P
    RHSA-2016:1237: ImageMagick security update (Important)
    2016-07-18
    BACK
    graphicsmagick graphicsmagick *
    imagemagick imagemagick -
    ibm powerkvm 2.1
    redhat enterprise linux desktop 7
    redhat enterprise linux hpc node 7
    redhat enterprise linux hpc node eus 7.2
    redhat enterprise linux server 7
    redhat enterprise linux server aus 7.2
    redhat enterprise linux server eus 7.2
    redhat enterprise linux workstation 7
    redhat enterprise linux desktop 6
    redhat enterprise linux hpc node 6
    redhat enterprise linux server 6
    redhat enterprise linux workstation 6