Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151124125709.0448ee5c@fabiankeil.de>
Date: Tue, 24 Nov 2015 12:57:09 +0100
From: Fabian Keil <freebsd-listen@...iankeil.de>
To: Hanno Böck <hanno@...eck.de>
Cc: oss-security@...ts.openwall.com
Subject: Re: Heap Overflow in PCRE

Hanno Böck <hanno@...eck.de> wrote:

> https://blog.fuzzing-project.org/29-Heap-Overflow-in-PCRE.html
> 
> The Perl Compatible Regular Expressions (PCRE) library has just
> released a new version which fixes a number of security issues.
> 
> Fuzzing the pcretest tool uncovered an input leading to a heap overflow
> in the function pcre_exec. This bug was found with the help of american
> fuzzy lop and address sanitizer.
> https://bugs.exim.org/show_bug.cgi?id=1637 Upstream bug #1637 (PoC and
> ASAN trace attached there)
> 
> This is fixed in PCRE 8.38. There are two variants of PCRE, the classic
> one and PCRE2. PCRE2 is not affected.
> https://lists.exim.org/lurker/message/20151123.125009.80e5ac05.en.html
> 
> Appart from that a couple of other vulnerabilities found by other
> people have been fixed in this release:
> https://bugs.exim.org/show_bug.cgi?id=1672
> Heap overflow in compile_regex
> https://bugs.exim.org/show_bug.cgi?id=1515
> Stack overflow in compile_regex
> https://bugs.exim.org/show_bug.cgi?id=1667
> Heap overflow in compile_regex
> 
> If you use PCRE to parse untrusted inputs you should update immediately.

The last sentence seems overly broad to me as many (most?) applications
use trusted PCRE patterns (that get parsed and executed) to parse untrusted
input.

For this use case the issues above don't seem to require immediate action.

Fabian

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.