ImageMagick ReadDCMImage and ReadXCFImage function denial of service

imagemagick-readdcmimage-readxcfimage-dos (36740) The risk level is classified as MediumMedium Risk

Description:

ImageMagick is vulnerable to a denial of service, caused by errors in the ReadDCMImage and ReadXCFImage functions. By persuading a victim to open a specially-crafted image file, a remote attacker could exploit these vulnerabilities to cause the application to enter an infinite loop, resulting in a denial of service.

*CVSS:

Base Score: 4.3
  Access Vector: Network
  Access Complexity: Medium
  Authentication: None
  Confidentiality Impact: None
  Integrity Impact: None
  Availability Impact: Partial
 
Temporal Score: 3.2
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Denial of Service

Remedy:

Upgrade to the latest version of ImageMagick (6.3.5-9 or later), available from the ImageMagick Web site. See References.

For GraphicsMagick:
Upgrade to the latest version of GraphicsMagick (1.1.11 or later), available from the GraphicsMagick Web site. See References.

For Ubuntu Linux (imagemagick):
Refer to USN-523-1 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

  • GraphicsMagick Web site: GraphicsMagick Image Processing System.
  • iDefense PUBLIC ADVISORY: 09.19.07: Multiple Vendor ImageMagick Multiple Denial of Service Vulnerabilities.
  • ImageMagick Web site: ImageMagick: Convert, Edit, and Compose Images.
  • ASA-2008-167: ImageMagick security update (RHSA-2008-0165)
  • ASA-2008-168: ImageMagick security update (RHSA-2008-0145)
  • BID-25764: ImageMagick ReadBlob Multiple Remote Denial Of Service Vulnerabilities
  • CVE-2007-4985: ImageMagick before 6.3.5-9 allows context-dependent attackers to cause a denial of service via a crafted image file that triggers (1) an infinite loop in the ReadDCMImage function, related to ReadBlobByte function calls; or (2) an infinite loop in the ReadXCFImage function, related to ReadBlobMSBLong function calls.
  • DSA-1858: imagemagick -- multiple vulnerabilities
  • DSA-1903: graphicsmagick -- several vulnerabilities
  • GLSA-200710-27: ImageMagick: Multiple vulnerabilities
  • MDVSA-2008:035: Updated ImageMagick packages fix multiple vulnerabilities
  • RHSA-2008-0145: Moderate: ImageMagick security update
  • RHSA-2008-0165: Moderate: ImageMagick security update
  • SA26926: ImageMagick Multiple Vulnerabilities
  • SA29094: GraphicsMagick Multiple Vulnerabilities
  • SECTRACK ID: 1018729: ImageMagick Off-by-one and Integer Overflows Let Remote Users Execute Arbitrary Code
  • SUSE-SR:2007:023: SUSE Security Summary Report
  • USN-523-1: ImageMagick vulnerabilities

Platforms Affected:

  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 6.10
  • Canonical Ubuntu 7.04
  • Debian Debian Linux 4.0
  • Debian Debian Linux 5.0
  • Gentoo Linux
  • GraphicsMagick GraphicsMagick 1.1.10
  • ImageMagick ImageMagick prior to 6.3.5-9
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux 2008.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4.6.z AS
  • RedHat Enterprise Linux 4.6.z ES
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5.1.z EUS
  • RedHat Linux Advanced Workstation 2.1 Itanium

Reported:

Sep 19, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.