pcapplusplus:FuzzTarget: Heap-buffer-overflow in pcpp::SSLExtension::getLength

2020-05-26T12:28:52
ID OSSFUZZ-22529
Type ossfuzz
Reporter Google
Modified 2020-07-01T20:03:22

Description

Project: https://github.com/seladb/PcapPlusPlus.git

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

Project: pcapplusplus Fuzzing Engine: libFuzzer Fuzz Target: FuzzTarget Job Type: libfuzzer_asan_pcapplusplus Platform Id: linux

Crash Type: Heap-buffer-overflow READ 2 Crash Address: 0x61100000027f Crash State: pcpp::SSLExtension::getLength pcpp::SSLExtension::getTotalLength pcpp::SSLServerHelloMessage::SSLServerHelloMessage

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Crash Revision: https://oss-fuzz.com/revisions?job=libfuzzer_asan_pcapplusplus&revision=202005260625

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

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.