GLSA 200508-17: libpcre: Heap integer overflow

Severity:high
Title:libpcre: Heap integer overflow
Date:08/25/2005
Bugs: #103337
ID:200508-17

Synopsis

libpcre is vulnerable to a heap integer overflow, possibly leading to the execution of arbitrary code.

Background

libpcre is a library providing functions for Perl-compatible regular expressions.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-libs/libpcre < 6.3 >= 6.3 All supported architectures

Description

libpcre fails to check certain quantifier values in regular expressions for sane values.

Impact

An attacker could possibly exploit this vulnerability to execute arbitrary code by sending specially crafted regular expressions to applications making use of the libpcre library.

Workaround

There is no known workaround at this time.

Resolution

All libpcre users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-libs/libpcre-6.3"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200508-17.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!