New issue
Advanced search Search tips

Issue 680376 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Bug-Security



Sign in to add a comment

Heap-buffer-overflow in CPDF_Document::FindPageIndex

Project Member Reported by ClusterFuzz, Jan 12 2017

Issue description

Project Member

Comment 1 by sheriffbot@chromium.org, Jan 12 2017

Labels: M-57
Project Member

Comment 2 by sheriffbot@chromium.org, Jan 12 2017

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 3 by sheriffbot@chromium.org, Jan 12 2017

Labels: Pri-1
Cc: dsinclair@chromium.org
Components: Internals>Plugins>PDF
Labels: -OS-Mac OS-All
Owner: tsepez@chromium.org
Status: Assigned (was: Untriaged)
Potentially a regression from https://pdfium.googlesource.com/pdfium/+/0fa471794a88b262f9114b973d74b1c33e4e592b
Project Member

Comment 8 by bugdroid1@chromium.org, Jan 18 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/77003d9bba2369d252fd5ba985bbae40c817a977

commit 77003d9bba2369d252fd5ba985bbae40c817a977
Author: pdfium-deps-roller <pdfium-deps-roller@chromium.org>
Date: Wed Jan 18 21:20:52 2017

Roll src/third_party/pdfium/ 19c209de4..e507dc500 (1 commit).

https://pdfium.googlesource.com/pdfium.git/+log/19c209de418a..e507dc500418

$ git log 19c209de4..e507dc500 --date=short --no-merges --format='%ad %ae %s'
2017-01-18 tsepez Bad indexing in CPDF_Document::FindPageIndex when page tree corrupt.

BUG= 680376 

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, see:
http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls

TBR=dsinclair@chromium.org

Review-Url: https://codereview.chromium.org/2640993002
Cr-Commit-Position: refs/heads/master@{#444485}

[modify] https://crrev.com/77003d9bba2369d252fd5ba985bbae40c817a977/DEPS

Project Member

Comment 9 by ClusterFuzz, Jan 19 2017

ClusterFuzz has detected this issue as fixed in range 444447:444508.

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

Fuzzer: ifratric_pdf_generic
Job Type: mac_asan_chrome
Platform Id: mac

Crash Type: Heap-buffer-overflow WRITE 4
Crash Address: 0x61a00001fdc4
Crash State:
  CPDF_Document::FindPageIndex
  CPDF_Document::FindPageIndex
  CPDF_Document::FindPageIndex
  
Sanitizer: address (ASAN)

Recommended Security Severity: High

Regressed: https://cluster-fuzz.appspot.com/revisions?job=mac_asan_chrome&range=441984:442831
Fixed: https://cluster-fuzz.appspot.com/revisions?job=mac_asan_chrome&range=444447:444508

Minimized Testcase (29280.20 Kb): https://cluster-fuzz.appspot.com/download/AMIfv96bSD_efU5BdXn3IokE515G2Pf3x9Qb6VoPEQV7_xFWxq9IuVH6TImMw1IsyQHuND4xhjUmZ9G8ngQjDVBH1sqL678J9IaFU64x5dloxC1p4KdK47mCnxB1xzwTMGoIUKxWejD5mvvr9kUqIlznpj_Kzz605-Fou8-euD0rF5tFvDXOwlPYGZYlRww2PPXD_-U5BJze5gqbvnYwAHtiHkRdLOy6c1BJSFakLlG6s_pKySPFFON5X8NrT_XQbrvW3zQpAlX-836ysnAJ7vUSTKKIPy4OoQWY0UBeTknT5AAoZI7ECIqmy2X_WS-ytxOqA-mRQ2j90tW3jqytvKbFpvnGToemB9JtEwZHi-7-MUrMkVHilF3dZifPLp_6EqywfXkYZjcdEYaRMm3Vxaet2nRaMEhM2g?testcase_id=6201658238566400

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 10 by sheriffbot@chromium.org, Jan 19 2017

Labels: -Restrict-View-SecurityTeam Restrict-View-SecurityNotify
Labels: -ReleaseBlock-Beta
Project Member

Comment 12 by sheriffbot@chromium.org, Apr 27 2017

Labels: -Restrict-View-SecurityNotify allpublic
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

Sign in to add a comment