Vulnerabilities > CVE-2011-0020 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
pango
gnome
CWE-119
nessus
exploit available

Summary

Heap-based buffer overflow in the pango_ft2_font_render_box_glyph function in pango/pangoft2-render.c in libpango in Pango 1.28.3 and earlier, when the FreeType2 backend is enabled, allows user-assisted remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted font file, related to the glyph box for an FT_Bitmap object.

Vulnerable Configurations

Part Description Count
Application
Pango
35
Application
Gnome
134

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

descriptionPango Font Parsing 'pangoft2-render.c' Heap Corruption Vulnerability. CVE-2011-0020. Remote exploit for linux platform
idEDB-ID:35232
last seen2016-02-04
modified2011-01-18
published2011-01-18
reporterDan Rosenberg
sourcehttps://www.exploit-db.com/download/35232/
titlePango Font Parsing 'pangoft2-render.c' Heap Corruption Vulnerability

Nessus

  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_2_LIBPANGO-1_0-0-110301.NASL
    descriptionSpecially crafted font files could cause a heap corruption in applications linked against pango (CVE-2011-0064, CVE-2011-0020).
    last seen2020-06-01
    modified2020-06-02
    plugin id53753
    published2011-05-05
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/53753
    titleopenSUSE Security Update : libpango-1_0-0 (openSUSE-SU-2011:0221-1)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update libpango-1_0-0-4076.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(53753);
      script_version("1.6");
      script_cvs_date("Date: 2019/10/25 13:36:40");
    
      script_cve_id("CVE-2011-0020", "CVE-2011-0064");
    
      script_name(english:"openSUSE Security Update : libpango-1_0-0 (openSUSE-SU-2011:0221-1)");
      script_summary(english:"Check for the libpango-1_0-0-4076 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Specially crafted font files could cause a heap corruption in
    applications linked against pango (CVE-2011-0064, CVE-2011-0020)."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=666101"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=672502"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://lists.opensuse.org/opensuse-updates/2011-03/msg00019.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected libpango-1_0-0 packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:pango");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:pango-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:pango-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:pango-module-thai-lang");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:11.2");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2011/03/01");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/05/05");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE11\.2)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "11.2", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE11.2", reference:"pango-1.26.2-1.3.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"pango-devel-1.26.2-1.3.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", reference:"pango-module-thai-lang-1.26.2-1.3.1") ) flag++;
    if ( rpm_check(release:"SUSE11.2", cpu:"x86_64", reference:"pango-32bit-1.26.2-1.3.1") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "pango / pango-32bit / pango-devel / pango-module-thai-lang");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_FIREFOX3-PANGO-7459.NASL
    descriptionThe following bug has been fixed : - Specially crafted font files could cause a heap corruption in applications linked against pango. (CVE-2011-0020)
    last seen2020-06-01
    modified2020-06-02
    plugin id57187
    published2011-12-13
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/57187
    titleSuSE 10 Security Update : firefox3-pango (ZYPP Patch Number 7459)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_PANGO-110301.NASL
    descriptionSpecially crafted font files could cause a heap corruption in applications linked against pango. (CVE-2011-0064 / CVE-2011-0020)
    last seen2020-06-01
    modified2020-06-02
    plugin id52960
    published2011-03-24
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/52960
    titleSuSE 11.1 Security Update : pango (SAT Patch Number 4065)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_FIREFOX3-PANGO-7460.NASL
    descriptionThe following bug has been fixed : - Specially crafted font files could cause a heap corruption in applications linked against pango. (CVE-2011-0020)
    last seen2020-06-01
    modified2020-06-02
    plugin id54612
    published2011-05-23
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/54612
    titleSuSE 10 Security Update : firefox3-pango (ZYPP Patch Number 7460)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_3_LIBPANGO-1_0-0-110301.NASL
    descriptionSpecially crafted font files could cause a heap corruption in applications linked against pango (CVE-2011-0064, CVE-2011-0020).
    last seen2020-06-01
    modified2020-06-02
    plugin id75599
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75599
    titleopenSUSE Security Update : libpango-1_0-0 (openSUSE-SU-2011:0221-1)
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2011-020.NASL
    descriptionA vulnerability has been found and corrected in pango : Heap-based buffer overflow in the pango_ft2_font_render_box_glyph function in pango/pangoft2-render.c in libpango in Pango 1.28.3 and earlier, when the FreeType2 backend is enabled, allows user-assisted remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted font file, related to the glyph box for an FT_Bitmap object (CVE-2011-0020). Packages for 2009.0 are provided as of the Extended Maintenance Program. Please visit this link to learn more: http://store.mandriva.com/product_info.php?cPath=149 products_id=490 The updated packages have been patched to correct this issue.
    last seen2020-06-01
    modified2020-06-02
    plugin id51865
    published2011-02-04
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/51865
    titleMandriva Linux Security Advisory : pango (MDVSA-2011:020)
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2011-0180.NASL
    descriptionUpdated pango and evolution28-pango packages that fix one security issue are now available for Red Hat Enterprise Linux 4, 5, and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Pango is a library used for the layout and rendering of internationalized text. An input sanitization flaw, leading to a heap-based buffer overflow, was found in the way Pango displayed font files when using the FreeType font engine back end. If a user loaded a malformed font file with an application that uses Pango, it could cause the application to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2011-0020) Users of pango and evolution28-pango are advised to upgrade to these updated packages, which contain a backported patch to resolve this issue. After installing the updated packages, you must restart your system or restart your X session for the update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id51886
    published2011-02-06
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/51886
    titleCentOS 4 : pango (CESA-2011:0180)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2011-0180.NASL
    descriptionUpdated pango and evolution28-pango packages that fix one security issue are now available for Red Hat Enterprise Linux 4, 5, and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Pango is a library used for the layout and rendering of internationalized text. An input sanitization flaw, leading to a heap-based buffer overflow, was found in the way Pango displayed font files when using the FreeType font engine back end. If a user loaded a malformed font file with an application that uses Pango, it could cause the application to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2011-0020) Users of pango and evolution28-pango are advised to upgrade to these updated packages, which contain a backported patch to resolve this issue. After installing the updated packages, you must restart your system or restart your X session for the update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id51811
    published2011-01-28
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/51811
    titleRHEL 4 / 5 / 6 : pango (RHSA-2011:0180)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2011-0180.NASL
    descriptionFrom Red Hat Security Advisory 2011:0180 : Updated pango and evolution28-pango packages that fix one security issue are now available for Red Hat Enterprise Linux 4, 5, and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Pango is a library used for the layout and rendering of internationalized text. An input sanitization flaw, leading to a heap-based buffer overflow, was found in the way Pango displayed font files when using the FreeType font engine back end. If a user loaded a malformed font file with an application that uses Pango, it could cause the application to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2011-0020) Users of pango and evolution28-pango are advised to upgrade to these updated packages, which contain a backported patch to resolve this issue. After installing the updated packages, you must restart your system or restart your X session for the update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id68188
    published2013-07-12
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/68188
    titleOracle Linux 4 / 5 / 6 : pango (ELSA-2011-0180)
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20110127_PANGO_ON_SL4_X.NASL
    descriptionAn input sanitization flaw, leading to a heap-based buffer overflow, was found in the way Pango displayed font files when using the FreeType font engine back end. If a user loaded a malformed font file with an application that uses Pango, it could cause the application to crash or, possibly, execute arbitrary code with the privileges of the user running the application. (CVE-2011-0020) After installing the updated packages, you must restart your system or restart your X session for the update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id60944
    published2012-08-01
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/60944
    titleScientific Linux Security Update : pango on SL4.x, SL5.x i386/x86_64
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201405-13.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201405-13 (Pango: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in Pango. Please review the CVE identifiers referenced below for details. Impact : A context-dependent attacker could entice a user to load specially crafted text using an application linked against Pango, 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 seen2020-06-01
    modified2020-06-02
    plugin id74056
    published2014-05-19
    reporterThis script is Copyright (C) 2014-2015 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/74056
    titleGLSA-201405-13 : Pango: Multiple vulnerabilities
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-1082-1.NASL
    descriptionMarc Schoenefeld discovered that Pango incorrectly handled certain Glyph Definition (GDEF) tables. If a user were tricked into displaying text with a specially crafted font, an attacker could cause Pango to crash, resulting in a denial of service. This issue only affected Ubuntu 8.04 LTS and 9.10. (CVE-2010-0421) Dan Rosenberg discovered that Pango incorrectly handled certain FT_Bitmap objects. If a user were tricked into displaying text with a specially- crafted font, an attacker could cause a denial of service or execute arbitrary code with privileges of the user invoking the program. The default compiler options for affected releases should reduce the vulnerability to a denial of service. (CVE-2011-0020) It was discovered that Pango incorrectly handled certain memory reallocation failures. If a user were tricked into displaying text in a way that would cause a reallocation failure, an attacker could cause a denial of service or execute arbitrary code with privileges of the user invoking the program. This issue only affected Ubuntu 9.10, 10.04 LTS and 10.10. (CVE-2011-0064). 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 seen2020-06-01
    modified2020-06-02
    plugin id52529
    published2011-03-03
    reporterUbuntu Security Notice (C) 2011-2019 Canonical, Inc. / NASL script (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/52529
    titleUbuntu 8.04 LTS / 9.10 / 10.04 LTS / 10.10 : pango1.0 vulnerabilities (USN-1082-1)

Redhat

advisories
bugzilla
id671122
titleCVE-2011-0020 pango: Heap-based buffer overflow by rendering glyph box for certain FT_Bitmap objects
oval
OR
  • commentRed Hat Enterprise Linux must be installed
    ovaloval:com.redhat.rhba:tst:20070304026
  • AND
    • commentRed Hat Enterprise Linux 6 is installed
      ovaloval:com.redhat.rhba:tst:20111656003
    • OR
      • AND
        • commentpango-devel is earlier than 0:1.28.1-3.el6_0.3
          ovaloval:com.redhat.rhsa:tst:20110180001
        • commentpango-devel is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhba:tst:20152116012
      • AND
        • commentpango is earlier than 0:1.28.1-3.el6_0.3
          ovaloval:com.redhat.rhsa:tst:20110180003
        • commentpango is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhba:tst:20152116010
  • AND
    • commentRed Hat Enterprise Linux 4 is installed
      ovaloval:com.redhat.rhba:tst:20070304025
    • OR
      • AND
        • commentevolution28-pango-devel is earlier than 0:1.14.9-13.el4_10
          ovaloval:com.redhat.rhsa:tst:20110180006
        • commentevolution28-pango-devel is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20090476006
      • AND
        • commentevolution28-pango is earlier than 0:1.14.9-13.el4_10
          ovaloval:com.redhat.rhsa:tst:20110180008
        • commentevolution28-pango is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20090476008
  • AND
    • commentRed Hat Enterprise Linux 5 is installed
      ovaloval:com.redhat.rhba:tst:20070331005
    • OR
      • AND
        • commentpango-devel is earlier than 0:1.14.9-8.el5_6.2
          ovaloval:com.redhat.rhsa:tst:20110180011
        • commentpango-devel is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20090476013
      • AND
        • commentpango is earlier than 0:1.14.9-8.el5_6.2
          ovaloval:com.redhat.rhsa:tst:20110180013
        • commentpango is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20090476011
rhsa
idRHSA-2011:0180
released2011-01-27
severityModerate
titleRHSA-2011:0180: pango security update (Moderate)
rpms
  • evolution28-pango-0:1.14.9-13.el4_10
  • evolution28-pango-debuginfo-0:1.14.9-13.el4_10
  • evolution28-pango-devel-0:1.14.9-13.el4_10
  • pango-0:1.14.9-8.el5_6.2
  • pango-0:1.28.1-3.el6_0.3
  • pango-debuginfo-0:1.14.9-8.el5_6.2
  • pango-debuginfo-0:1.28.1-3.el6_0.3
  • pango-devel-0:1.14.9-8.el5_6.2
  • pango-devel-0:1.28.1-3.el6_0.3