You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Apache ORC deep type recursion stack overflow PoC

Authorized bug bounty research artifact for Apache ORC C++ parser testing.

Reproducer

Built and reproduced against apache/orc commit fbc8c8771864ce08127a843237534b4f50f3e256 with AppleClang ASAN:

git clone --depth 30 https://github.com/apache/orc /tmp/runtime-audit/orc
cd /tmp/runtime-audit/orc
cmake -S . -B build-asan -DBUILD_CPP_TESTS=ON -DCMAKE_BUILD_TYPE=Debug \
  -DCMAKE_C_FLAGS='-fsanitize=address -fno-omit-frame-pointer' \
  -DCMAKE_CXX_FLAGS='-fsanitize=address -fno-omit-frame-pointer' \
  -DCMAKE_EXE_LINKER_FLAGS='-fsanitize=address' \
  -DCMAKE_SHARED_LINKER_FLAGS='-fsanitize=address'
cmake --build build-asan --parallel 8
ASAN_OPTIONS=abort_on_error=1:detect_leaks=0:symbolize=1 \
  build-asan/tools/src/orc-contents payloads/deep-type-10000.orc

Expected result: AddressSanitizer: stack-overflow in orc::convertType at c++/src/TypeImpl.cc:569.

Files

  • payloads/deep-type-10000.orc: crashing PoC.
  • payloads/deep-type-1000.orc: non-crashing control in this environment.
  • payloads/baseline-empty-none.orc: upstream empty ORC baseline.
  • logs/deep-type-10000.orc-contents.stderr: ASAN crash from orc-contents.
  • logs/deep-type-10000.orc-metadata.stderr: ASAN crash from orc-metadata.
  • scripts/mutate_orc.py: local generator used for footer/type mutations.

Hashes

b0f5006ebfaf64509fa54dcf9c525cc3499f19d24738a6f713efe387b568a24f  payloads/deep-type-10000.orc
17f8b0213d074518d749604133916f8d6a275a073801d0293814ad99d4e40053  payloads/deep-type-1000.orc
ce3d39efd750057845ec9b81f99a6192643cd726cba3a09ae333d5e075e82266  payloads/baseline-empty-none.orc
Downloads last month
4