GLSA-200705-22 : FreeType: Buffer overflow

medium Nessus Plugin ID 25361
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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-200705-22 (FreeType: Buffer overflow)

Victor Stinner discovered a heap-based buffer overflow in the function Get_VMetrics() in src/truetype/ttgload.c when processing TTF files with a negative n_points attribute.
Impact :

A remote attacker could entice a user to open a specially crafted TTF file, possibly resulting in the execution of arbitrary code with the privileges of the user running FreeType.
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.4-r2'

See Also

https://security.gentoo.org/glsa/200705-22

Plugin Details

Severity: Medium

ID: 25361

File Name: gentoo_GLSA-200705-22.nasl

Version: 1.14

Type: local

Published: 6/1/2007

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Vector: AV:N/AC:M/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: 5/30/2007

Vulnerability Publication Date: 5/22/2007

Reference Information

CVE: CVE-2007-2754

GLSA: 200705-22