njs:njs_process_script_fuzzer: Heap-buffer-overflow in njs_json_append_string

2020-01-17T16:51:03
ID OSSFUZZ-20182
Type ossfuzz
Reporter Google
Modified 2020-03-10T19:00:58

Description

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

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

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

Crash Type: Heap-buffer-overflow WRITE 1 Crash Address: 0x625000070100 Crash State: njs_json_append_string njs_dump_terminal njs_vm_value_dump

Sanitizer: address (ASAN)

Recommended Security Severity: High

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

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

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.