mbedtls/fuzz_privkey: Heap-buffer-overflow in pk_get_ecparams

Type ossfuzz
Reporter Google
Modified 2018-06-21T15:21:45


Project: https://github.com/ARMmbed/mbedtls.git https://github.com/catenacyber/mbedtls.git

Detailed report: https://oss-fuzz.com/testcase?key=5922466286272512

Project: mbedtls Fuzzer: afl_mbedtls_fuzz_privkey Fuzz target binary: fuzz_privkey Job Type: afl_asan_mbedtls Platform Id: linux

Crash Type: Heap-buffer-overflow READ 1 Crash Address: 0x6050000000e9 Crash State: pk_get_ecparams pk_parse_key_sec1_der mbedtls_pk_parse_key

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

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

Issue filed automatically.

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for more information.

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.

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.