Action Pack — это фреймворк для обработки и реагирования на веб-запросы. До 8.1.4.1 и 8.0.5.2 ActionController::Live::Buffer#close выдвигает свой маркер end-of-stream в ограниченную очередь ответа, пока он удерживает монитор буфера. Когда клиент перестал читать и очередь заполнена, push-блоки и Bufferabort, который запускается, когда клиент отключается или заканчивается время записи, бесконечно ждут того же монитора.
Каждый такой ответ может постоянно удерживать поток веб-сервера и его поток ActionController::Live, что может привести к уязвимости DoS из-за исчерпания потока. Затронуты приложения, которые транслируют ответы с помощью ActionController::Live, включая send_stream. Приложения, которые обслуживают большие файлы через прокси-режим Active Storage, подвергаются воздействию неаутентифицированных клиентов.
Эта проблема исправлена в версиях 8.1.4.1 и 8.0.5.2.
Показать оригинальное описание (EN)
Action Pack is a framework for handling and responding to web requests. Prior to 8.1.4.1 and 8.0.5.2, ActionController::Live::Buffer#close pushes its end-of-stream marker onto the response's bounded queue while it holds the buffer's monitor. When the client has stopped reading and the queue is full, the push blocks, and Buffer#abort, which runs when the client disconnects or a write times out, waits indefinitely for the same monitor. Each such response could permanently hold a web server thread and its ActionController::Live thread, possibly resulting in a DoS vulnerability through thread exhaustion. Applications that stream responses with ActionController::Live, including send_stream, are affected. Applications that serve large files through Active Storage proxy mode are exposed to unauthenticated clients. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Характеристики атаки
Последствия
Строка CVSS v3.1