GLSA-200806-10 : FreeType: User-assisted execution of arbitrary code

high Nessus Plugin ID 33246

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200806-10 (FreeType: User-assisted execution of arbitrary code)

Regenrecht reported multiple vulnerabilities in FreeType via iDefense:
An integer overflow when parsing values in the Private dictionary table in a PFB file, leading to a heap-based buffer overflow (CVE-2008-1806).
An invalid free() call related to parsing an invalid 'number of axes' field in a PFB file (CVE-2008-1807).
Multiple off-by-one errors when parsing PBF and TTF files, leading to heap-based buffer overflows (CVE-2008-1808).
Impact :

A remote attacker could entice a user to open a specially crafted TTF or PBF file, possibly resulting in the execution of arbitrary code with the privileges of the user running an application linked against FreeType (such as the X.org X server, running as root).
Workaround :

There is no known workaround at this time.

Solution

All FreeType users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/freetype-2.3.6'

See Also

https://security.gentoo.org/glsa/200806-10

Plugin Details

Severity: High

ID: 33246

File Name: gentoo_GLSA-200806-10.nasl

Version: 1.17

Type: local

Published: 6/24/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:freetype, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 6/23/2008

Reference Information

CVE: CVE-2008-1806, CVE-2008-1807, CVE-2008-1808

CWE: 189

GLSA: 200806-10