Race condition in workers may cause an exploitable double free by abusing bytearray.compress()
A race condition when sharing a bytearray between two workers may cause a double free if one worker calls bytearray.compress() while the other uses the array.
Originally disclosed on HackerOne
- Fixed in 14 days
- Paid in 14 days
- Disclosed after 44 days
The issue occurs while sharing a bytearray between two workers. If one worker calls bytearray.compress() while the other uses that bytearray, Flash does not correctly handle the race and may double free the array.
Identified as CVE-2015-0312, and reported to Adobe via Chrome VRP: https://helpx.adobe.com/security/products/flash-player/apsb15-03.html
Original report with exploit for Chrome: https://code.google.com/p/chromium/issues/detail?id=436022
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a lack of synchronisation when one worker compresses a shared bytearray while another worker accesses it, leading to a double free.
Impact
Could cause a double free.
What the attacker needed
Two workers sharing a bytearray; one worker calls compress()
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A bytearray is a block of memory that programs can share. When two workers use the same block at the same time, and one tries to compress it while the other is still using it, the program may free the memory twice. This is called a double free.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.