gdal: Heap-buffer-overflow in NTFFileReader::EstablishLayer

2017-06-09T14:14:24
ID OSSFUZZ-2187
Type ossfuzz
Reporter Google
Modified 2017-07-10T13:04:44

Description

Project: https://github.com/OSGeo/gdal.git

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

Project: gdal Fuzzer: libFuzzer_gdal_shape_fuzzer Fuzz target binary: shape_fuzzer Job Type: libfuzzer_asan_gdal Platform Id: linux

Crash Type: Heap-buffer-overflow READ 1 Crash Address: 0x60300000d822 Crash State: NTFFileReader::EstablishLayer OGRNTFDataSource::EstablishGenericLayers OGRNTFDataSource::Open

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_gdal&range=201705271645:201705291647

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

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.

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 have questions for the OSS-Fuzz team, please file an issue at https://github.com/google/oss-fuzz/issues.