opensc:fuzz_pkcs15_reader: Stack-buffer-overflow in fuzz_reader_transmit

2019-10-27T23:52:16
ID OSSFUZZ-18577
Type ossfuzz
Reporter Google
Modified 2019-12-06T16:40:52

Description

Project: https://github.com/OpenSC/OpenSC.git

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

Project: opensc Fuzzing Engine: libFuzzer Fuzz Target: fuzz_pkcs15_reader Job Type: libfuzzer_asan_opensc Platform Id: linux

Crash Type: Stack-buffer-overflow WRITE {*} Crash Address: 0x7ffc7fd1641d Crash State: fuzz_reader_transmit sc_single_transmit sc_transmit

Sanitizer: address (ASAN)

Recommended Security Severity: High

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_opensc&range=201910250207:201910260206

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

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.