GLSA-200807-03 : PCRE: Buffer overflow

This script is Copyright (C) 2008-2014 Tenable Network Security, Inc.


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-200807-03
(PCRE: Buffer overflow)

Tavis Ormandy of the Google Security team reported a heap-based buffer
overflow when compiling regular expression patterns containing
'Internal Option Settings' such as '(?i)'.

Impact :

A remote attacker could exploit this vulnerability by sending a
specially crafted regular expression to an application making use of
the PCRE library, which could possibly lead to the execution of
arbitrary code or a Denial of Service.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200807-03.xml

Solution :

All PCRE users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=dev-libs/libpcre-7.7-r1'
All GLib users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=dev-libs/glib-2.16.3-r1'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 33460 (gentoo_GLSA-200807-03.nasl)

Bugtraq ID:

CVE ID: CVE-2008-2371