توضیح (فارسی)
CERN ROOT قبل از نسخه 6.40.00 حاوی یک آسیبپذیری تضخیم بافر مبتنی بر هیپ در حلقههایی است که بارهای چند بلاکی را استخراج میکنند، شامل توابع TBasket::ReadBasketBuffers()، TKey::ReadObj()، TKey::ReadObjWithBuffer()، TKey::ReadObjectAny()، TKey::Read()، TTreeCacheUnzip::UnzipBuffer()، TMessage::Uncompress() و RNTupleDecompressor::Unzip()، که اندازههای فشرده و غیرفشرده را از هدر هر بلاک به R__unzip() میفرستند بدون اینکه آنها را با بایتهای باقیمانده در بافرهای ورودی و خروجی مقایسه کنند. مهاجمان با ارائه یک فایل ROOT دستکاری شده میتوانند باعث شوند R__unzip() از پس از پایان بافر ورودی بخواند و دادههای استخراجشده را پس از پایان بافر هیپ بنویسد، که منجر به خرابی برنامه یا احتمالاً اجرای کد میشود.
Original description (English)
CERN ROOT before 6.40.00 contains a heap-based buffer overflow vulnerability in the loops that decompress multi-block payloads, including TBasket::ReadBasketBuffers(), TKey::ReadObj(), TKey::ReadObjWithBuffer(), TKey::ReadObjectAny(), TKey::Read(), TTreeCacheUnzip::UnzipBuffer(), TMessage::Uncompress() and RNTupleDecompressor::Unzip(), which pass the compressed and uncompressed sizes from each block header to R__unzip() without checking them against the bytes remaining in the input and output buffers. Attackers who supply a crafted ROOT file can make R__unzip() read past the input and write decompressed data past the end of the heap buffer, crashing the application or possibly executing code.