gnutls: Stack-buffer-overflow in cdk_pk_get_keyid

2016-12-28T18:59:48
ID OSSFUZZ-340
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=6746150208012288

Project: gnutls Fuzzer: libFuzzer_gnutls_openpgp_cert_parser_fuzzer Fuzz target binary: gnutls_openpgp_cert_parser_fuzzer Job Type: libfuzzer_asan_gnutls Platform Id: linux

Crash Type: Stack-buffer-overflow READ 1 Crash Address: 0x7f0982ab1859 Crash State: cdk_pk_get_keyid _cdk_pkt_get_keyid cdk_keydb_get_keyblock

Recommended Security Severity: Medium

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

Minimized Testcase (0.12 Kb): https://clusterfuzz-external.appspot.com/download/AMIfv95HXV9kbCfoYWSgn_TBeobm5eQmsq-ZOhqKBw13OXIm-SAvKgs2JVLqFLh8NpDniNKaqfdaYqSmGjPDdMYIPoUsHAZJog_L4_qnjgah1_-MGJa7gbebPGECr1-edaexDyrerYhLDSJODwOpdmFfqFU5CZ0-KH4LlTjsMuXyUZFeb3mzCU8?testcase_id=6746150208012288

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.