open62541:fuzz_json_decode: Heap-use-after-free in String_clear

2020-01-30T08:36:25
ID OSSFUZZ-20437
Type ossfuzz
Reporter Google
Modified 2020-05-28T14:37:48

Description

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

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

Project: open62541 Fuzzing Engine: libFuzzer Fuzz Target: fuzz_json_decode Job Type: libfuzzer_asan_open62541 Platform Id: linux

Crash Type: Heap-use-after-free READ 8 Crash Address: 0x6040000000d8 Crash State: String_clear clearStructure Variant_clear

Sanitizer: address (ASAN)

Recommended Security Severity: High

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_open62541&range=201905020143:201905070144

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

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.