openssl:client: Heap-use-after-free in CRYPTO_DOWN_REF

2020-02-21T11:21:09
ID OSSFUZZ-20816
Type ossfuzz
Reporter Google
Modified 2020-04-02T03:22:41

Description

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

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

Project: openssl Fuzzing Engine: libFuzzer Fuzz Target: client Job Type: libfuzzer_asan_openssl Platform Id: linux

Crash Type: Heap-use-after-free WRITE 4 Crash Address: 0x60f00002d560 Crash State: CRYPTO_DOWN_REF DH_free evp_pkey_free_it

Sanitizer: address (ASAN)

Recommended Security Severity: High

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_openssl&range=202002200411:202002210408

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

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.