open62541/fuzz_json_decode_encode: Heap-buffer-overflow in UA_unbase64

2019-05-07T07:20:41
ID OSSFUZZ-14621
Type ossfuzz
Reporter Google
Modified 2019-09-04T15:40:32

Description

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

Detailed report: https://oss-fuzz.com/testcase?key=5207216900014080

Project: open62541 Fuzzer: libFuzzer_open62541_fuzz_json_decode_encode Fuzz target binary: fuzz_json_decode_encode Job Type: libfuzzer_asan_open62541 Platform Id: linux

Crash Type: Heap-buffer-overflow WRITE 1 Crash Address: 0x6020000000b1 Crash State: UA_unbase64 ByteString_decodeJson decodeFields

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=5207216900014080

Issue filed automatically.

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for instructions to reproduce this bug locally.

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.

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.