توضیح (فارسی)
نسخه readsb 3.14.1607 قبل از 3.16.8 در تابع readFspec() در فایل net_io.c دارای یک بحران خوردن مخزن (heap based buffer overflow) است که ASTERIX FSPEC و بایتهای متغیر طول (variable-length item bytes) را به طور مداوم به یک مخزن (heap) با اندازه ثابت میگیرد، تا زمانی که هر بایت دارای بیت توسعه (FX) گنجانده شده باشد، بدون محدودیت طول یا چک کردن انتهای داده دریافت شده. حملهگران غیرمجاز از راه دور که بدون اعتبارسنجی میتوانند داده به ورودی ASTERIX ارسال کنند، که با استفاده از --net-asterix-in-port یا asterix_in net-connector فعال هستند، میتوانند یک رکورد با زنجیره طولانی FX ارسال کنند تا بیتهای مورد کنترل توسط حملهگر خارج از پایان مخزن بنویسند و باعث کریش ردیف readsb یا خرابی حافظه مخزن شود.
Original description (English)
readsb 3.14.1607 before 3.16.8 contains a heap-based buffer overflow vulnerability in readFspec() in net_io.c that copies ASTERIX FSPEC and variable-length item bytes into a fixed-size heap buffer for as long as each byte has its extension (FX) bit set, without a length limit or a check against the end of the received data. Remote unauthenticated attackers who can send data to an ASTERIX input, enabled with --net-asterix-in-port or an asterix_in net-connector, can send a record with a long FX chain to write attacker-controlled bytes past the end of the buffer, crashing readsb or corrupting heap memory.