opensc:fuzz_pkcs15_reader: Crash in parse_sec_attr_44

2019-11-03T01:28:39
ID OSSFUZZ-18693
Type ossfuzz
Reporter Google
Modified 2019-12-06T16:41:08

Description

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

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

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

Crash Type: UNKNOWN READ Crash Address: 0x0000013a1000 Crash State: parse_sec_attr_44 setcos_select_file sc_select_file

Sanitizer: undefined (UBSAN)

Recommended Security Severity: Medium

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

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

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.