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

Pàgina inicial
Delete this message
Autor: admin
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 1978] New: PCRE2 10.23-RC1 - Out of bounds read in internal_dfa_match()
https://bugs.exim.org/show_bug.cgi?id=1978

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


Created attachment 942
--> https://bugs.exim.org/attachment.cgi?id=942&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:

==3122==ERROR: AddressSanitizer: SEGV on unknown address 0x7f58ec9472a1 (pc
0x7f58eb8c4a31 bp 0x7ffe11d2bc30 sp 0x7ffe11d224e0 T0)
==3122==The signal is caused by a READ memory access.
    #0 0x7f58eb8c4a30 in internal_dfa_match
XYZ/pcre/src/pcre2_dfa_match.c:1644:15
    #1 0x7f58eb8bf7cf 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 0x7f58ea77982f 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:1644:15 in
internal_dfa_match
==3122==ABORTING

Regards,
Kamil Frankowicz

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