Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-35064: Poc/CVE-2022-35064.md at main · Cvjark/Poc

OTFCC commit 617837b was discovered to contain a heap buffer overflow via /release-x64/otfccdump+0x4adcdb in __asan_memset.

CVE
#git#buffer_overflow

Product Link

https://github.com/caryll/otfcc

POC file

https://github.com/Cvjark/Poc/files/9059928/id149_heap_buffer_overflow_sample_otfccdump%2B0x4adcdb.zip

Command to reproduce

./otfccbuild --pretty [sample file] -o /dev/null

Product name & version

last github commit code : 617837b

Problem Type

heap-buffer-overflow

Crash Detail

==104877==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60b000000db3 at pc 0x0000004adcdc bp 0x7fff70fd6650 sp 0x7fff70fd5e00
WRITE of size 176 at 0x60b000000db3 thread T0
    #0 0x4adcdb in __asan_memset (/home/bupt/Desktop/otfcc/bin/release-x64/otfccdump+0x4adcdb)
    #1 0x5cd359  (/home/bupt/Desktop/otfcc/bin/release-x64/otfccdump+0x5cd359)
    #2 0x4fea8d  (/home/bupt/Desktop/otfcc/bin/release-x64/otfccdump+0x4fea8d)
    #3 0x4f5710  (/home/bupt/Desktop/otfcc/bin/release-x64/otfccdump+0x4f5710)
    #4 0x7f604b90ec86 in __libc_start_main /build/glibc-CVJwZb/glibc-2.27/csu/../csu/libc-start.c:310
    #5 0x41c549  (/home/bupt/Desktop/otfcc/bin/release-x64/otfccdump+0x41c549)

0x60b000000db3 is located 0 bytes to the right of 99-byte region [0x60b000000d50,0x60b000000db3)
allocated by thread T0 here:
    #0 0x4aecd8 in calloc (/home/bupt/Desktop/otfcc/bin/release-x64/otfccdump+0x4aecd8)
    #1 0x5cd14f  (/home/bupt/Desktop/otfcc/bin/release-x64/otfccdump+0x5cd14f)
    #2 0x4fea8d  (/home/bupt/Desktop/otfcc/bin/release-x64/otfccdump+0x4fea8d)
    #3 0x4f5710  (/home/bupt/Desktop/otfcc/bin/release-x64/otfccdump+0x4f5710)
    #4 0x7f604b90ec86 in __libc_start_main /build/glibc-CVJwZb/glibc-2.27/csu/../csu/libc-start.c:310

SUMMARY: AddressSanitizer: heap-buffer-overflow (/home/bupt/Desktop/otfcc/bin/release-x64/otfccdump+0x4adcdb) in __asan_memset
Shadow bytes around the buggy address:
  0x0c167fff8160: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd
  0x0c167fff8170: fd fd fd fd fd fa fa fa fa fa fa fa fa fa fd fd
  0x0c167fff8180: fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa
  0x0c167fff8190: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c167fff81a0: fd fa fa fa fa fa fa fa fa fa 00 00 00 00 00 00
=>0x0c167fff81b0: 00 00 00 00 00 00[03]fa fa fa fa fa fa fa fa fa
  0x0c167fff81c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c167fff81d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c167fff81e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c167fff81f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c167fff8200: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
  Shadow gap:              cc
==104877==ABORTING

Crash summary

SUMMARY: AddressSanitizer: heap-buffer-overflow (/home/bupt/Desktop/otfcc/bin/release-x64/otfccdump+0x4adcdb) in __asan_memset

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda