[pcre-dev] [Bug 1979] 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 1979] New: PCRE2 10.23-RC1 - Out of bounds read in match() #1
https://bugs.exim.org/show_bug.cgi?id=1979

            Bug ID: 1979
           Summary: PCRE2 10.23-RC1 - Out of bounds read in match() #1
           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 943
--> https://bugs.exim.org/attachment.cgi?id=943&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_match1 /dev/null

ASAN Output:

==6317==ERROR: AddressSanitizer: SEGV on unknown address 0x7f2a6a9f8fdf (pc
0x7f2a6a93ffed bp 0x7fff6fcc03c0 sp 0x7fff6fcbfd40 T0)
==6317==The signal is caused by a READ memory access.
    #0 0x7f2a6a93ffec in match XYZ/pcre/src/pcre2_match.c:2633:32
    #1 0x7f2a6a9332b3 in pcre2_match_8 XYZ/pcre/src/pcre2_match.c:6992:8
    #2 0x4ef4cc in process_data XYZ/pcre/src/pcre2test.c:6576:9
    #3 0x4ef4cc in main XYZ/pcre/src/pcre2test.c:7788
    #4 0x7f2a697ca82f 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_match.c:2633:32 in match
==6317==ABORTING

Regards,
Kamil Frankowicz

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