Monorail Project: oss-fuzz Issues People Development process History Sign in
New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 2 users
Status: Verified
Owner: ----
Closed: May 22
Cc:
Type: Bug-Security



Sign in to add a comment
gdal: Stack-buffer-overflow in gdal_printbuf_memappend
Project Member Reported by monor...@clusterfuzz-external.iam.gserviceaccount.com, May 18 Back to list
Detailed report: https://oss-fuzz.com/testcase?key=5789067830624256

Project: gdal
Fuzzer: libFuzzer_gdal_ogr_fuzzer
Fuzz target binary: ogr_fuzzer
Job Type: libfuzzer_asan_gdal
Platform Id: linux

Crash Type: Stack-buffer-overflow READ {*}
Crash Address: 0x7fb33ea71ba0
Crash State:
  gdal_printbuf_memappend
  gdal_json_object_double_to_json_string
  gdal_json_object_object_to_json_string
  
Sanitizer: address (ASAN)

Recommended Security Severity: Medium

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

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


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.
 
Fixed per https://trac.osgeo.org/gdal/changeset/38479

Issue also exists in upstream libjson-c. Fix submitted as https://github.com/json-c/json-c/pull/325
Project Member Comment 2 by kcc@google.com, May 18
Once again, thanks for directly fixing the dependency upstream!
I've asked the json-c folks to consider oss-fuzz.
https://github.com/json-c/json-c/pull/325#issuecomment-302541529
Labels: OS-Linux
ClusterFuzz has detected this issue as fixed in range 201705181644:201705211646.

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

Project: gdal
Fuzzer: libFuzzer_gdal_ogr_fuzzer
Fuzz target binary: ogr_fuzzer
Job Type: libfuzzer_asan_gdal
Platform Id: linux

Crash Type: Stack-buffer-overflow READ {*}
Crash Address: 0x7fb33ea71ba0
Crash State:
  gdal_printbuf_memappend
  gdal_json_object_double_to_json_string
  gdal_json_object_object_to_json_string
  
Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_gdal&range=201705131648:201705141650
Fixed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_gdal&range=201705181644:201705211646

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


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

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Labels: ClusterFuzz-Verified
Status: Verified
ClusterFuzz testcase 5789067830624256 is verified as fixed, so closing issue.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Project Member Comment 6 by sheriffbot@chromium.org, Jun 22
Labels: -restrict-view-commit
This bug has been fixed for 30 days. It has been opened to the public.

- Your friendly Sheriffbot
Sign in to add a comment