njs:njs_process_script_fuzzer: Heap-use-after-free in njs_parser_property

2020-06-18T21:13:19
ID OSSFUZZ-23553
Type ossfuzz
Reporter Google
Modified 2020-07-20T20:04:37

Description

Project: http://hg.nginx.org/njs

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

Project: njs Fuzzing Engine: libFuzzer Fuzz Target: njs_process_script_fuzzer Job Type: libfuzzer_asan_njs Platform Id: linux

Crash Type: Heap-use-after-free READ 2 Crash Address: 0x6250000408c0 Crash State: njs_parser_property njs_parser_optional_chain njs_parser

Sanitizer: address (ASAN)

Recommended Security Severity: High

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_njs&range=202006090311:202006100312

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

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.