Race condition in Flash workers may cause an exploitable double free
A race condition when two Flash workers call bytearray.clear() on a shared bytearray may cause a double free.
Originally disclosed on HackerOne
- Fixed in 17 days
- Paid in 17 days
- Disclosed after 5.0 years
The issue occurs while sharing a bytearray between two workers. If both call bytearray.clear() at the same time, Flash does not correctly handle the race and may double free the array.
Indentified as CVE-2014-0574, and reported to Adobe via Chrome VRP: http://helpx.adobe.com/security/products/flash-player/apsb14-24.html
Original report with proof of concept: https://code.google.com/p/chromium/issues/detail?id=423703
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 missing lock or check when two workers concurrently clear the same bytearray, leading to a double free.
What the attacker needed
Two Flash workers; shared bytearray; simultaneous clear() calls
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. If two parts of a program try to free the same block at the same time, the memory manager may get confused.
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.