[pcre-dev] [Bug 1993] New: PCRE2 10.23-RC1 - Out of bounds r…

Kezdőlap
Üzenet törlése
Szerző: admin
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 1993] New: PCRE2 10.23-RC1 - Out of bounds read in internal_dfa_match() #2
https://bugs.exim.org/show_bug.cgi?id=1993

            Bug ID: 1993
           Summary: PCRE2 10.23-RC1 - Out of bounds read in
                    internal_dfa_match() #2
           Product: PCRE
           Version: N/A
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: fumfi.255@???
                CC: pcre-dev@???


Created attachment 957
--> https://bugs.exim.org/attachment.cgi?id=957&action=edit
POC to trigger out of bounds read (pcre2test)

Affected:
- PCRE2 version 10.23-RC1 2016-08-01 (SVN revision: 610)

To reproduce the problem (pcre2test):
pcre2test pcre2_oobr_internal_dfa_match /dev/null

ASAN output:

==20212==ERROR: AddressSanitizer: SEGV on unknown address 0x7f74299e629f (pc
0x7f7428954452 bp 0x7ffc89688290 sp 0x7ffc8967eb40 T0)
==20212==The signal is caused by a READ memory access.
    #0 0x7f7428954451 in internal_dfa_match
XYZ/pcre/src/pcre2_dfa_match.c:2079:25
    #1 0x7f742893e7cf in pcre2_dfa_match_8
XYZ/pcre/src/pcre2_dfa_match.c:3563:8
    #2 0x4ef5f7 in process_data XYZ/pcre/src/pcre2test.c:6561:7
    #3 0x4ef5f7 in main XYZ/pcre/src/pcre2test.c:7788
    #4 0x7f74277f882f in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #5 0x41aad8 in _start (/usr/local/bin/pcre2test+0x41aad8)


AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV XYZ/pcre/src/pcre2_dfa_match.c:2079:25 in
internal_dfa_match
==20212==ABORTING

Regards,
Kamil Frankowicz

--
You are receiving this mail because:
You are on the CC list for the bug.