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

Issue 667367 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Heap-buffer-overflow in unibrow::Utf8::CalculateValue

Project Member Reported by ClusterFuzz, Nov 21 2016

Issue description

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

Fuzzer: libfuzzer_v8_wasm_fuzzer
Job Type: libfuzzer_chrome_asan
Platform Id: linux

Crash Type: Heap-buffer-overflow READ 1
Crash Address: 0x60300001796e
Crash State:
  unibrow::Utf8::CalculateValue
  unibrow::Utf8::Validate
  v8::internal::wasm::ModuleDecoder::consume_string
  
Recommended Security Severity: Medium


Minimized Testcase (0.01 Kb): https://cluster-fuzz.appspot.com/download/AMIfv969xXB97pdIf98SdspJO9CVSNO043nXBMi64EAKUEAib2s5JUiPqVnf3O5ZcmkEILrGMPihyIp6jZu9FJ6uW-XMs6d4FE7OSmo6fkF7oejQeNx-z7-Up20SdAKXLdp3NcGzUjgM8InFsPe4faaqyA2KAKXobw?testcase_id=4657314276835328

Issue filed automatically.

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

Comment 1 by mea...@chromium.org, Nov 22 2016

Cc: ahaas@chromium.org rossberg@chromium.org vogelheim@chromium.org
Components: Blink>JavaScript
Owner: jbroman@chromium.org
Status: Assigned (was: Untriaged)
jbroman: Can you please take a look?

The stack is similar to  bug 667260  and  bug 667253 , but I'm not sure if these are all dupes of the same bug.
Yeah, probably the same issue (well, I can't see 667253, but I assume it's similar). I have a proposed fix out for review; can just check is these are fixed once that lands.

Comment 3 by mea...@chromium.org, Nov 22 2016

Sorry about that, I cc'ed you on 667253.
Project Member

Comment 4 by sheriffbot@chromium.org, Nov 22 2016

Labels: M-55
Project Member

Comment 5 by sheriffbot@chromium.org, Nov 22 2016

Labels: Pri-1
Project Member

Comment 6 by ClusterFuzz, Nov 22 2016

ClusterFuzz has detected this issue as fixed in range 433834:433855.

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

Fuzzer: libfuzzer_v8_wasm_fuzzer
Job Type: libfuzzer_chrome_asan
Platform Id: linux

Crash Type: Heap-buffer-overflow READ 1
Crash Address: 0x60300001796e
Crash State:
  unibrow::Utf8::CalculateValue
  unibrow::Utf8::Validate
  v8::internal::wasm::ModuleDecoder::consume_string
  
Recommended Security Severity: Medium

Fixed: https://cluster-fuzz.appspot.com/revisions?job=libfuzzer_chrome_asan&range=433834:433855

Minimized Testcase (0.01 Kb): https://cluster-fuzz.appspot.com/download/AMIfv969xXB97pdIf98SdspJO9CVSNO043nXBMi64EAKUEAib2s5JUiPqVnf3O5ZcmkEILrGMPihyIp6jZu9FJ6uW-XMs6d4FE7OSmo6fkF7oejQeNx-z7-Up20SdAKXLdp3NcGzUjgM8InFsPe4faaqyA2KAKXobw?testcase_id=4657314276835328

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.
Status: Fixed (was: Assigned)
ClusterFuzz agrees that my patch fixes this, closing.
Mergedinto: 667260
Status: Duplicate (was: Fixed)
Project Member

Comment 9 by sheriffbot@chromium.org, Mar 2 2017

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