توضیح (فارسی)
readsb قبل از 3.16.8 شامل یک آسیب امنیتی Out-of-Bounds Read در apiReadRequest() در api.c است که هنگام جستجوی دادههای جدیداً دریافته شده درخواست برای newline مجموع طول درخواست بافر شده را به memchr() میفرستد به جای طول داده جدید. مهاجمان از راه دور و بدون احراز هویت که میتوانند به پورت HTTP API که با --net-api-port فعال است دسترسی داشته باشند میتوانند درخواستی را در چند بخش بدون newline ارسال کنند تا readsb از پایان بافر درخواست heap خارج از آن بخواند و به طور احتمی فرایند را قفل کند.
Original description (English)
readsb before 3.16.8 contains an out-of-bounds read vulnerability in apiReadRequest() in api.c that, when searching newly received request data for a newline, passes the total buffered request length to memchr() instead of the length of the new data. Remote unauthenticated attackers who can reach the HTTP API port enabled with --net-api-port can send a request in several chunks without a newline to make readsb read past the end of the heap request buffer, potentially crashing the process.