ID CVE-2009-3743
Summary Off-by-one error in the Ins_MINDEX function in the TrueType bytecode interpreter in Ghostscript before 8.71 allows remote attackers to execute arbitrary code or cause a denial of service (heap memory corruption) via a malformed TrueType font in a document that trigger an integer overflow and a heap-based buffer overflow.
References
Vulnerable Configurations
  • Artifex AFPL Ghostscript 6.0
    cpe:2.3:a:artifex:afpl_ghostscript:6.0
  • Artifex AFPL Ghostscript 6.01
    cpe:2.3:a:artifex:afpl_ghostscript:6.01
  • Artifex AFPL Ghostscript 6.50
    cpe:2.3:a:artifex:afpl_ghostscript:6.50
  • Artifex AFPL Ghostscript 7.00
    cpe:2.3:a:artifex:afpl_ghostscript:7.00
  • Artifex AFPL Ghostscript 7.03
    cpe:2.3:a:artifex:afpl_ghostscript:7.03
  • Artifex AFPL Ghostscript 7.04
    cpe:2.3:a:artifex:afpl_ghostscript:7.04
  • Artifex AFPL Ghostscript 8.00
    cpe:2.3:a:artifex:afpl_ghostscript:8.00
  • Artifex AFPL Ghostscript 8.11
    cpe:2.3:a:artifex:afpl_ghostscript:8.11
  • Artifex AFPL Ghostscript 8.12
    cpe:2.3:a:artifex:afpl_ghostscript:8.12
  • Artifex AFPL Ghostscript 8.13
    cpe:2.3:a:artifex:afpl_ghostscript:8.13
  • Artifex AFPL Ghostscript 8.14
    cpe:2.3:a:artifex:afpl_ghostscript:8.14
  • Artifex AFPL Ghostscript 8.50
    cpe:2.3:a:artifex:afpl_ghostscript:8.50
  • Artifex AFPL Ghostscript 8.51
    cpe:2.3:a:artifex:afpl_ghostscript:8.51
  • Artifex AFPL Ghostscript 8.52
    cpe:2.3:a:artifex:afpl_ghostscript:8.52
  • Artifex AFPL Ghostscript 8.53
    cpe:2.3:a:artifex:afpl_ghostscript:8.53
  • Artifex AFPL Ghostscript 8.54
    cpe:2.3:a:artifex:afpl_ghostscript:8.54
  • Artifex Ghostscript Fonts 6.0
    cpe:2.3:a:artifex:ghostscript_fonts:6.0
  • Artifex Ghostscript Fonts 8.11
    cpe:2.3:a:artifex:ghostscript_fonts:8.11
  • Artifex GPL Ghostscript 8.01
    cpe:2.3:a:artifex:gpl_ghostscript:8.01
  • Artifex GPL Ghostscript 8.15
    cpe:2.3:a:artifex:gpl_ghostscript:8.15
  • Artifex GPL Ghostscript 8.50
    cpe:2.3:a:artifex:gpl_ghostscript:8.50
  • Artifex GPL Ghostscript 8.51
    cpe:2.3:a:artifex:gpl_ghostscript:8.51
  • Artifex GPL Ghostscript 8.54
    cpe:2.3:a:artifex:gpl_ghostscript:8.54
  • Artifex GPL Ghostscript 8.56
    cpe:2.3:a:artifex:gpl_ghostscript:8.56
  • Artifex GPL Ghostscript 8.57
    cpe:2.3:a:artifex:gpl_ghostscript:8.57
  • Artifex GPL Ghostscript 8.60
    cpe:2.3:a:artifex:gpl_ghostscript:8.60
  • Artifex GPL Ghostscript 8.61
    cpe:2.3:a:artifex:gpl_ghostscript:8.61
  • Artifex GPL Ghostscript 8.62
    cpe:2.3:a:artifex:gpl_ghostscript:8.62
  • Artifex GPL Ghostscript 8.63
    cpe:2.3:a:artifex:gpl_ghostscript:8.63
  • Artifex GPL Ghostscript 8.64
    cpe:2.3:a:artifex:gpl_ghostscript:8.64
  • Artifex GPL Ghostscript 8.70
    cpe:2.3:a:artifex:gpl_ghostscript:8.70
CVSS
Base: 9.3 (as of 09-01-2015 - 13:40)
Impact:
Exploitability:
CWE CWE-189
CAPEC
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
nessus via4
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201412-17.NASL
    description The remote host is affected by the vulnerability described in GLSA-201412-17 (GPL Ghostscript: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in GPL Ghostscript. Please review the CVE identifiers referenced below for details. Impact : A context-dependent attacker could entice a user to open a specially crafted PostScript file or PDF using GPL Ghostscript, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2016-11-11
    plugin id 79970
    published 2014-12-15
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79970
    title GLSA-201412-17 : GPL Ghostscript: Multiple vulnerabilities
  • NASL family SuSE Local Security Checks
    NASL id SUSE_GHOSTSCRIPT-FONTS-OTHER-8063.NASL
    description This update of ghostscript fixes two security issues : - Off-by-one error in the TrueType bytecode interpreter in Ghostscript in SUSE Linux Enterprise 10 and 11 products allows remote attackers to cause a denial of service (heap memory corruption) via a malformed TrueType font in a document. (CVE-2009-3743) - The gs_type2_interpret function in Ghostscript allows remote attackers to cause a denial of service (incorrect pointer dereference and application crash) via crafted font data in a compressed data stream. (CVE-2010-4054)
    last seen 2019-02-21
    modified 2012-05-17
    plugin id 58791
    published 2012-04-19
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=58791
    title SuSE 10 Security Update : ghostscript (ZYPP Patch Number 8063)
  • NASL family Amazon Linux Local Security Checks
    NASL id ALA_ALAS-2012-42.NASL
    description An integer overflow flaw was found in Ghostscript's TrueType bytecode interpreter. An attacker could create a specially crafted PostScript or PDF file that, when interpreted, could cause Ghostscript to crash or, potentially, execute arbitrary code. (CVE-2009-3743) It was found that Ghostscript always tried to read Ghostscript system initialization files from the current working directory before checking other directories, even if a search path that did not contain the current working directory was specified with the '-I' option, or the '-P-' option was used (to prevent the current working directory being searched first). If a user ran Ghostscript in an attacker-controlled directory containing a system initialization file, it could cause Ghostscript to execute arbitrary PostScript code. (CVE-2010-2055) Ghostscript included the current working directory in its library search path by default. If a user ran Ghostscript without the '-P-' option in an attacker-controlled directory containing a specially crafted PostScript library file, it could cause Ghostscript to execute arbitrary PostScript code. With this update, Ghostscript no longer searches the current working directory for library files by default. (CVE-2010-4820) Note: The fix for CVE-2010-4820 could possibly break existing configurations. To use the previous, vulnerable behavior, run Ghostscript with the '-P' option (to always search the current working directory first). A flaw was found in the way Ghostscript interpreted PostScript Type 1 and PostScript Type 2 font files. An attacker could create a specially crafted PostScript Type 1 or PostScript Type 2 font file that, when interpreted, could cause Ghostscript to crash or, potentially, execute arbitrary code. (CVE-2010-4054)
    last seen 2019-02-21
    modified 2018-04-18
    plugin id 69649
    published 2013-09-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=69649
    title Amazon Linux AMI : ghostscript (ALAS-2012-42)
  • NASL family Scientific Linux Local Security Checks
    NASL id SL_20120202_GHOSTSCRIPT_ON_SL5_X.NASL
    description Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. An integer overflow flaw was found in Ghostscript's TrueType bytecode interpreter. An attacker could create a specially crafted PostScript or PDF file that, when interpreted, could cause Ghostscript to crash or, potentially, execute arbitrary code. (CVE-2009-3743) It was found that Ghostscript always tried to read Ghostscript system initialization files from the current working directory before checking other directories, even if a search path that did not contain the current working directory was specified with the '-I' option, or the '-P-' option was used (to prevent the current working directory being searched first). If a user ran Ghostscript in an attacker-controlled directory containing a system initialization file, it could cause Ghostscript to execute arbitrary PostScript code. (CVE-2010-2055) Ghostscript included the current working directory in its library search path by default. If a user ran Ghostscript without the '-P-' option in an attacker-controlled directory containing a specially crafted PostScript library file, it could cause Ghostscript to execute arbitrary PostScript code. With this update, Ghostscript no longer searches the current working directory for library files by default. (CVE-2010-4820) Note: The fix for CVE-2010-4820 could possibly break existing configurations. To use the previous, vulnerable behavior, run Ghostscript with the '-P' option (to always search the current working directory first). A flaw was found in the way Ghostscript interpreted PostScript Type 1 and PostScript Type 2 font files. An attacker could create a specially crafted PostScript Type 1 or PostScript Type 2 font file that, when interpreted, could cause Ghostscript to crash or, potentially, execute arbitrary code. (CVE-2010-4054) Users of Ghostscript are advised to upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2018-12-31
    plugin id 61236
    published 2012-08-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=61236
    title Scientific Linux Security Update : ghostscript on SL5.x, SL6.x i386/x86_64
  • NASL family CentOS Local Security Checks
    NASL id CENTOS_RHSA-2012-0095.NASL
    description Updated ghostscript packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. An integer overflow flaw was found in Ghostscript's TrueType bytecode interpreter. An attacker could create a specially crafted PostScript or PDF file that, when interpreted, could cause Ghostscript to crash or, potentially, execute arbitrary code. (CVE-2009-3743) It was found that Ghostscript always tried to read Ghostscript system initialization files from the current working directory before checking other directories, even if a search path that did not contain the current working directory was specified with the '-I' option, or the '-P-' option was used (to prevent the current working directory being searched first). If a user ran Ghostscript in an attacker-controlled directory containing a system initialization file, it could cause Ghostscript to execute arbitrary PostScript code. (CVE-2010-2055) Ghostscript included the current working directory in its library search path by default. If a user ran Ghostscript without the '-P-' option in an attacker-controlled directory containing a specially crafted PostScript library file, it could cause Ghostscript to execute arbitrary PostScript code. With this update, Ghostscript no longer searches the current working directory for library files by default. (CVE-2010-4820) Note: The fix for CVE-2010-4820 could possibly break existing configurations. To use the previous, vulnerable behavior, run Ghostscript with the '-P' option (to always search the current working directory first). A flaw was found in the way Ghostscript interpreted PostScript Type 1 and PostScript Type 2 font files. An attacker could create a specially crafted PostScript Type 1 or PostScript Type 2 font file that, when interpreted, could cause Ghostscript to crash or, potentially, execute arbitrary code. (CVE-2010-4054) Users of Ghostscript are advised to upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 57809
    published 2012-02-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57809
    title CentOS 5 / 6 : ghostscript (CESA-2012:0095)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2012-0095.NASL
    description Updated ghostscript packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. An integer overflow flaw was found in Ghostscript's TrueType bytecode interpreter. An attacker could create a specially crafted PostScript or PDF file that, when interpreted, could cause Ghostscript to crash or, potentially, execute arbitrary code. (CVE-2009-3743) It was found that Ghostscript always tried to read Ghostscript system initialization files from the current working directory before checking other directories, even if a search path that did not contain the current working directory was specified with the '-I' option, or the '-P-' option was used (to prevent the current working directory being searched first). If a user ran Ghostscript in an attacker-controlled directory containing a system initialization file, it could cause Ghostscript to execute arbitrary PostScript code. (CVE-2010-2055) Ghostscript included the current working directory in its library search path by default. If a user ran Ghostscript without the '-P-' option in an attacker-controlled directory containing a specially crafted PostScript library file, it could cause Ghostscript to execute arbitrary PostScript code. With this update, Ghostscript no longer searches the current working directory for library files by default. (CVE-2010-4820) Note: The fix for CVE-2010-4820 could possibly break existing configurations. To use the previous, vulnerable behavior, run Ghostscript with the '-P' option (to always search the current working directory first). A flaw was found in the way Ghostscript interpreted PostScript Type 1 and PostScript Type 2 font files. An attacker could create a specially crafted PostScript Type 1 or PostScript Type 2 font file that, when interpreted, could cause Ghostscript to crash or, potentially, execute arbitrary code. (CVE-2010-4054) Users of Ghostscript are advised to upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2018-11-26
    plugin id 57822
    published 2012-02-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57822
    title RHEL 5 / 6 : ghostscript (RHSA-2012:0095)
  • NASL family Oracle Linux Local Security Checks
    NASL id ORACLELINUX_ELSA-2012-0095.NASL
    description From Red Hat Security Advisory 2012:0095 : Updated ghostscript packages that fix multiple security issues are now available for Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Ghostscript is a set of software that provides a PostScript interpreter, a set of C procedures (the Ghostscript library, which implements the graphics capabilities in the PostScript language) and an interpreter for Portable Document Format (PDF) files. An integer overflow flaw was found in Ghostscript's TrueType bytecode interpreter. An attacker could create a specially crafted PostScript or PDF file that, when interpreted, could cause Ghostscript to crash or, potentially, execute arbitrary code. (CVE-2009-3743) It was found that Ghostscript always tried to read Ghostscript system initialization files from the current working directory before checking other directories, even if a search path that did not contain the current working directory was specified with the '-I' option, or the '-P-' option was used (to prevent the current working directory being searched first). If a user ran Ghostscript in an attacker-controlled directory containing a system initialization file, it could cause Ghostscript to execute arbitrary PostScript code. (CVE-2010-2055) Ghostscript included the current working directory in its library search path by default. If a user ran Ghostscript without the '-P-' option in an attacker-controlled directory containing a specially crafted PostScript library file, it could cause Ghostscript to execute arbitrary PostScript code. With this update, Ghostscript no longer searches the current working directory for library files by default. (CVE-2010-4820) Note: The fix for CVE-2010-4820 could possibly break existing configurations. To use the previous, vulnerable behavior, run Ghostscript with the '-P' option (to always search the current working directory first). A flaw was found in the way Ghostscript interpreted PostScript Type 1 and PostScript Type 2 font files. An attacker could create a specially crafted PostScript Type 1 or PostScript Type 2 font file that, when interpreted, could cause Ghostscript to crash or, potentially, execute arbitrary code. (CVE-2010-4054) Users of Ghostscript are advised to upgrade to these updated packages, which contain backported patches to correct these issues.
    last seen 2019-02-21
    modified 2015-12-01
    plugin id 68450
    published 2013-07-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=68450
    title Oracle Linux 5 / 6 : ghostscript (ELSA-2012-0095)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-1317-1.NASL
    description It was discovered that Ghostscript did not correctly handle memory allocation when parsing certain malformed JPEG-2000 images. If a user or automated system were tricked into opening a specially crafted image, an attacker could cause a denial of service and possibly execute arbitrary code with user privileges. (CVE-2008-3520) It was discovered that Ghostscript did not correctly handle certain formatting operations when parsing JPEG-2000 images. If a user or automated system were tricked into opening a specially crafted image, an attacker could cause a denial of service and possibly execute arbitrary code with user privileges. (CVE-2008-3522) It was discovered that Ghostscript incorrectly handled certain malformed TrueType fonts. If a user or automated system were tricked into opening a document containing a specially crafted font, an attacker could cause a denial of service and possibly execute arbitrary code with user privileges. This issue only affected Ubuntu 8.04 LTS. (CVE-2009-3743) It was discovered that Ghostscript incorrectly handled certain malformed Type 2 fonts. If a user or automated system were tricked into opening a document containing a specially crafted font, an attacker could cause a denial of service and possibly execute arbitrary code with user privileges. This issue only affected Ubuntu 8.04 LTS. (CVE-2010-4054) Jonathan Foote discovered that Ghostscript incorrectly handled certain malformed JPEG-2000 image files. If a user or automated system were tricked into opening a specially crafted JPEG-2000 image file, an attacker could cause Ghostscript to crash or possibly execute arbitrary code with user privileges. (CVE-2011-4516, CVE-2011-4517). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-12-01
    plugin id 57436
    published 2012-01-05
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=57436
    title Ubuntu 8.04 LTS / 10.04 LTS / 10.10 : ghostscript vulnerabilities (USN-1317-1)
redhat via4
advisories
rhsa
id RHSA-2012:0095
rpms
  • ghostscript-0:8.70-6.el5_7.6
  • ghostscript-devel-0:8.70-6.el5_7.6
  • ghostscript-gtk-0:8.70-6.el5_7.6
  • ghostscript-0:8.70-11.el6_2.6
  • ghostscript-devel-0:8.70-11.el6_2.6
  • ghostscript-doc-0:8.70-11.el6_2.6
  • ghostscript-gtk-0:8.70-11.el6_2.6
refmap via4
bugtraq 20101125 TSSA-2010-01 Ghostscript library Ins_MINDEX() integer overflow and heap corruption
cert-vn VU#644319
gentoo GLSA-201412-17
misc http://www.kb.cert.org/vuls/id/JALR-87YGN8
sectrack 1024785
Last major update 09-01-2015 - 17:26
Published 26-08-2010 - 17:00
Last modified 10-10-2018 - 15:47
Back to Top