New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 610631 link

Starred by 0 users

Issue metadata

Status: Duplicate
Merged: issue 610973
Owner:
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug-Security



Sign in to add a comment

Use-of-uninitialized-value in CPDF_Document::FindPDFPage

Project Member Reported by ClusterFuzz, May 10 2016

Issue description

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=6598251972657152

Fuzzer: libfuzzer_pdfium_fuzzer
Job Type: libfuzzer_chrome_msan
Platform Id: linux

Crash Type: Use-of-uninitialized-value
Crash Address: 
Crash State:
  CPDF_Document::FindPDFPage
  CPDF_Document::FindPDFPage
  CPDF_Document::GetPage
  
Recommended Security Severity: Medium

Regressed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_msan&range=391019:391082

Minimized Testcase (0.24 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv96-rvSYpYBqq2I5PIPVQk-KjKg4DO-RvsIiWLBcoMU51wDE3y7RXWafZPI04NbloIX3Bm6azi4ibbPJixC_qNFoZIg8GDAVHDsPo_vscerHHrL_RqSG1E4WbaWyTZFRxlzRlICM9PMTQqOVIuGlAUUXRNQ8WA
<<sartxref 0/Prev 1%PDF-0/3
1 0 obj 
<<
/Groupj
<<
>>H%PD-1.2
/Pages 2 0 R
>>ne
dobj 
2 0 obj 
<<
/Reso []
/Type /XRef
1 0 obj 
/Kids [1 0 R%PDF-1.2
<<
1<sart 0 obj 
/Kids [2 0 R]
/Count 48/TWSnt 80
endobj 
>>
trailer
<<
/I�fo 3 R 
/Root 1 0 R
>>


Filer: mmoroz

See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.md for more information.
 

Comment 1 by mmoroz@chromium.org, May 10 2016

Cc: mmoroz@chromium.org kcc@chromium.org aizatsky@chromium.org
Components: Internals>Plugins>PDF
Labels: Pri-2
Owner: och...@chromium.org

Comment 2 by mmoroz@chromium.org, May 10 2016

Labels: -Pri-2 -Security_Severity-Medium Security_Severity-High Pri-1
"Uninitialized value was created by a heap deallocation", it may be use-after-free. Setting High severity then.
Project Member

Comment 3 by ClusterFuzz, May 10 2016

Status: Assigned (was: Available)
Project Member

Comment 4 by sheriffbot@chromium.org, May 10 2016

Labels: M-52
Project Member

Comment 5 by sheriffbot@chromium.org, May 10 2016

Labels: ReleaseBlock-Beta
This issue is a security regression. If you are not able to fix this quickly, please revert the change that introduced it.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 6 by ClusterFuzz, May 11 2016

ClusterFuzz is analyzing your testcase. Developers can follow the progress at https://cluster-fuzz.appspot.com/testcase?key=4608462243233792

Comment 7 by och...@chromium.org, May 11 2016

Cc: weili@chromium.org
Looks like this is caused by https://pdfium.googlesource.com/pdfium.git/+/cd1e9ff4f432cbc29ed279e6891fb7ddc2ea3734

Comment 8 by och...@chromium.org, May 11 2016

Mergedinto: 610973
Status: Duplicate (was: Assigned)
Looks like the cause is the same as  bug 610973 
Project Member

Comment 9 by ClusterFuzz, May 11 2016

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=4608462243233792

Uploader: ochang@google.com
Job Type: linux_asan_pdfium
Platform Id: linux

Crash Type: Heap-use-after-free READ 8
Crash Address: 0x60b0000074c8
Crash State:
  CPDF_Document::FindPDFPage
  CPDF_Document::FindPDFPage
  CPDF_Document::GetPage
  
Recommended Security Severity: High

Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_pdfium&range=392347:392426

Minimized Testcase (0.17 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv97Jv1i-mZLatBnG888rJi3Sv2XaTO-EEOyKZObF02Cc0TdlJRDou5pDYepWqFkNxoRVgR4V8VbGSPRuWl92F2-az6IzivLUKhoniuqEY2vheUIt9Dg3imMgguBdCDKosEBZGADokR6ZeSiBGz4qekw1h40E6A
<<sartxref 0/Prev 1%PDF-0/3
1 0 obj 
<<
/Pages 2 0 R
>>ne
2 0 obj 
<<
/Type /XRef
/Kids [1 0 R%PDF-1.2
<<
/Kids [2 0 R]
/Count 48/TWSnt 80
endobj 
>>
trailer
<<
/Root 1 0 R
>>


See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
Project Member

Comment 10 by ClusterFuzz, May 12 2016

ClusterFuzz has detected this issue as fixed in range 393183:393193.

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=4608462243233792

Uploader: ochang@google.com
Job Type: linux_asan_pdfium
Platform Id: linux

Crash Type: Heap-use-after-free READ 8
Crash Address: 0x60b0000074c8
Crash State:
  CPDF_Document::FindPDFPage
  CPDF_Document::FindPDFPage
  CPDF_Document::GetPage
  
Recommended Security Severity: High

Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_pdfium&range=392347:392426
Fixed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_pdfium&range=393183:393193

Minimized Testcase (0.17 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv97Jv1i-mZLatBnG888rJi3Sv2XaTO-EEOyKZObF02Cc0TdlJRDou5pDYepWqFkNxoRVgR4V8VbGSPRuWl92F2-az6IzivLUKhoniuqEY2vheUIt9Dg3imMgguBdCDKosEBZGADokR6ZeSiBGz4qekw1h40E6A
<<sartxref 0/Prev 1%PDF-0/3
1 0 obj 
<<
/Pages 2 0 R
>>ne
2 0 obj 
<<
/Type /XRef
/Kids [1 0 R%PDF-1.2
<<
/Kids [2 0 R]
/Count 48/TWSnt 80
endobj 
>>
trailer
<<
/Root 1 0 R
>>


See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs 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 11 by ClusterFuzz, May 14 2016

ClusterFuzz has detected this issue as fixed in range 392626:393388.

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=6598251972657152

Fuzzer: libfuzzer_pdfium_fuzzer
Job Type: libfuzzer_chrome_msan
Platform Id: linux

Crash Type: Use-of-uninitialized-value
Crash Address: 
Crash State:
  CPDF_Document::FindPDFPage
  CPDF_Document::FindPDFPage
  CPDF_Document::GetPage
  
Recommended Security Severity: Medium

Regressed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_msan&range=391019:391082
Fixed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_msan&range=392626:393388

Minimized Testcase (0.24 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv96-rvSYpYBqq2I5PIPVQk-KjKg4DO-RvsIiWLBcoMU51wDE3y7RXWafZPI04NbloIX3Bm6azi4ibbPJixC_qNFoZIg8GDAVHDsPo_vscerHHrL_RqSG1E4WbaWyTZFRxlzRlICM9PMTQqOVIuGlAUUXRNQ8WA
<<sartxref 0/Prev 1%PDF-0/3
1 0 obj 
<<
/Groupj
<<
>>H%PD-1.2
/Pages 2 0 R
>>ne
dobj 
2 0 obj 
<<
/Reso []
/Type /XRef
1 0 obj 
/Kids [1 0 R%PDF-1.2
<<
1<sart 0 obj 
/Kids [2 0 R]
/Count 48/TWSnt 80
endobj 
>>
trailer
<<
/I�fo 3 R 
/Root 1 0 R
>>


See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/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 12 by sheriffbot@chromium.org, Aug 23 2016

Labels: -Restrict-View-SecurityTeam
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 13 by sheriffbot@chromium.org, Oct 1 2016

This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 14 by sheriffbot@chromium.org, Oct 2 2016

This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: allpublic

Sign in to add a comment