cryptofuzz:cryptofuzz-openssl: Heap-buffer-overflow in CryptoPP::xorbuf

2020-06-15T22:47:18
ID OSSFUZZ-23473
Type ossfuzz
Reporter Google
Modified 2020-08-07T20:09:21

Description

Project: https://github.com/guidovranken/cryptofuzz.git

Detailed Report: https://oss-fuzz.com/testcase?key=5647824103669760

Project: cryptofuzz Fuzzing Engine: afl Fuzz Target: cryptofuzz-openssl Job Type: afl_asan_cryptofuzz Platform Id: linux

Crash Type: Heap-buffer-overflow READ 1 Crash Address: 0x610000000cf0 Crash State: CryptoPP::xorbuf CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::Additi CryptoPP::GCM_Base::AuthenticateLastFooterBlock

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=afl_asan_cryptofuzz&range=202006080142:202006090140

Reproducer Testcase: https://oss-fuzz.com/download?testcase_id=5647824103669760

Issue filed automatically.

See https://google.github.io/oss-fuzz/advanced-topics/reproducing for instructions to reproduce this bug locally. When you fix this bug, please * mention the fix revision(s). * state whether the bug was a short-lived regression or an old bug in any stable releases. * add any other useful information. This information can help downstream consumers.

If you need to contact the OSS-Fuzz team with a question, concern, or any other feedback, please file an issue at https://github.com/google/oss-fuzz/issues. Comments on individual Monorail issues are not monitored.

This bug is subject to a 90 day disclosure deadline. If 90 days elapse without an upstream patch, then the bug report will automatically become visible to the public.