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

トップ ページ
このメッセージを削除
著者: admin
日付:  
To: pcre-dev
題目: [pcre-dev] [Bug 1982] New: PCRE2 10.23-RC1 - Out of bounds read in match() #4
https://bugs.exim.org/show_bug.cgi?id=1982

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

ASAN Output:

==14905==ERROR: AddressSanitizer: SEGV on unknown address 0x7fca2e9a42a1 (pc
0x7fca2d95bdd2 bp 0x7ffec8667420 sp 0x7ffec8666da0 T0)
==14905==The signal is caused by a READ memory access.
    #0 0x7fca2d95bdd1 in match XYZ/pcre/src/pcre2_match.c:5731:21
    #1 0x7fca2d93f2b3 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 0x7fca2c7d682f 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:5731:21 in match
==14905==ABORTING

Regards,
Kamil Frankowicz

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