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

Issue metadata

Status: Verified
Owner: ----
Closed: Nov 2016
Cc:
Type: Bug-Security



Sign in to add a comment

sqlite3: Heap-use-after-free in sqlite3StrAccumAppend

Project Member Reported by ClusterFuzz-External, Nov 14 2016 Back to list

Issue description

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

Target: sqlite3
Fuzzer: libFuzzer_sqlite3_ossfuzz
Fuzzer binary: ossfuzz
Job Type: libfuzzer_asan_sqlite3
Platform Id: linux

Crash Type: Heap-use-after-free READ 1
Crash Address: 0x60c000000813
Crash State:
  sqlite3StrAccumAppend
  sqlite3VXPrintf
  sqlite3VMPrintf
  
Recommended Security Severity: High

Regressed: https://clusterfuzz-external.appspot.com/revisions?job=libfuzzer_asan_sqlite3&range=201611111706:201611120926

Minimized Testcase (0.03 Kb):
Download: https://clusterfuzz-external.appspot.com/download/AMIfv95qEryVHxDtL_i2kOnGg2X2R5Nw403MV6G_9gCU3h4P-hcBTGmD61IUZ8JSHDK3EEfoQzYOpDMiYfFNbRyFHdEz1MpUU0WIPEH-0ZOOygGOtmcV0BMYjJPQdIyoZNhS_BoR6cNwg4SWdHHtqbs0lXWV6LRHwyha68dzBVOHVWCQp1-ToEQ?testcase_id=5770842466156544
CREATE	table	i(O
UNIQUE
UNIQUE


Issue manually filed by: ochang

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

Comment 1 by ochang@google.com, Nov 14 2016

Cc: kcc@google.com
Project Member

Comment 3 by ClusterFuzz-External, Nov 15 2016

ClusterFuzz has detected this issue as fixed in range 201611140906:201611141331.

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

Target: sqlite3
Fuzzer: libFuzzer_sqlite3_ossfuzz
Fuzzer binary: ossfuzz
Job Type: libfuzzer_asan_sqlite3
Platform Id: linux

Crash Type: Heap-use-after-free READ 1
Crash Address: 0x60c000000813
Crash State:
  sqlite3StrAccumAppend
  sqlite3VXPrintf
  sqlite3VMPrintf
  
Recommended Security Severity: High

Regressed: https://clusterfuzz-external.appspot.com/revisions?job=libfuzzer_asan_sqlite3&range=201611111706:201611120926
Fixed: https://clusterfuzz-external.appspot.com/revisions?job=libfuzzer_asan_sqlite3&range=201611140906:201611141331

Minimized Testcase (0.03 Kb):
Download: https://clusterfuzz-external.appspot.com/download/AMIfv95qEryVHxDtL_i2kOnGg2X2R5Nw403MV6G_9gCU3h4P-hcBTGmD61IUZ8JSHDK3EEfoQzYOpDMiYfFNbRyFHdEz1MpUU0WIPEH-0ZOOygGOtmcV0BMYjJPQdIyoZNhS_BoR6cNwg4SWdHHtqbs0lXWV6LRHwyha68dzBVOHVWCQp1-ToEQ?testcase_id=5770842466156544
CREATE	table	i(O
UNIQUE
UNIQUE


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.
Project Member

Comment 4 by ClusterFuzz-External, Nov 15 2016

Labels: ClusterFuzz-Verified
Status: Verified (was: New)
ClusterFuzz testcase is verified as fixed, closing issue.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Project Member

Comment 5 by mmoroz@google.com, Nov 15 2016

Cc: fjserna@google.com
Project Member

Comment 6 by mmoroz@google.com, Nov 15 2016

CC'ing Fermin as FYI for TPS.
Project Member

Comment 7 by ochang@google.com, Nov 21 2016

Labels: -Restrict-View-Commit
bulk destricting.
Project Member

Comment 8 by ochang@google.com, Nov 29 2016

Labels: -Library-sqlite3 Project-sqlite3
Project Member

Comment 9 by ochang@google.com, Nov 29 2016

Labels: -Project-sqlite3 Proj-sqlite3
Project Member

Comment 10 by ochang@google.com, Feb 24 2017

Labels: Engine-libfuzzer

Sign in to add a comment