quickjs:fuzz_compile: Heap-use-after-free in JS_ReadObjectRec

2020-03-31T15:26:20
ID OSSFUZZ-21532
Type ossfuzz
Reporter Google
Modified 2020-05-14T20:03:25

Description

Project: https://github.com/horhof/quickjs.git

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

Project: quickjs Fuzzing Engine: honggfuzz Fuzz Target: fuzz_compile Job Type: honggfuzz_asan_quickjs Platform Id: linux

Crash Type: Heap-use-after-free READ 4 Crash Address: 0x60f0000004f0 Crash State: JS_ReadObjectRec JS_ReadObject fuzz_compile.c

Sanitizer: address (ASAN)

Recommended Security Severity: High

Crash Revision: https://oss-fuzz.com/revisions?job=honggfuzz_asan_quickjs&revision=202003280320

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

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.