gnutls: Heap-buffer-overflow in _asn1_get_indefinite_length_string

2016-12-27T15:00:14
ID OSSFUZZ-331
Type ossfuzz
Reporter Google
Modified 2017-02-24T03:32:15

Description

Project: https://gitlab.com/gnutls/gnutls.git

Detailed report: https://clusterfuzz-external.appspot.com/testcase?key=5692057372852224

Project: gnutls Fuzzer: libFuzzer_gnutls_pkcs7_parser_fuzzer Fuzz target binary: gnutls_pkcs7_parser_fuzzer Job Type: libfuzzer_asan_gnutls Platform Id: linux

Crash Type: Heap-buffer-overflow READ 1 Crash Address: 0x61800000079d Crash State: _asn1_get_indefinite_length_string asn1_get_length_ber _asn1_extract_tag_der

Recommended Security Severity: Medium

Regressed: https://clusterfuzz-external.appspot.com/revisions?job=libfuzzer_asan_gnutls&range=201612250059:201612270141

Minimized Testcase (0.78 Kb): https://clusterfuzz-external.appspot.com/download/AMIfv95K1UklJOCFp1F_zr_xqK-RzOp8ANlgPHyBBJPzmCRGSy2gz9BBqeDhpB_JUrg9OPdbdZ8rCZ9uxeMyw9CcAEIE2txbeLr5DfflIngDRD-zru0DMQWTewrS4BSD-LlW0QUhITtw3zLsjQRl3np1K_XjuRE7YjY0JiuVhon5xGiMAdjEy4g?testcase_id=5692057372852224

Issue filed automatically.

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for more information.

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.