Неограниченное выделение памяти и отсутствие проверки размера кадра в Apache NMS ActiveMQ (клиент .NET OpenWire, пакет Apache.NMS.ActiveMQ) перед 2.3.0. OpenWire unmarshalling код доверял размеру кадра и длины и полям подсчета, читаемым из сети. Он не применял максимальный размер кадра, и он не проверял, что декодированные длины вписываются в читаемый кадр. Вредоносный или скомпрометированный брокер или злоумышленник, способный перехватить и изменить незашифрованное соединение, может отправить созданный кадр OpenWire с негабаритной или отрицательной длиной.
Это может привести к тому, что клиент попытается выделить очень большие объемы памяти, что приведет к чрезмерному потреблению памяти, OutOfMemoryException или незахваченному исключению и отказу в обслуживании клиентского приложения. Пользователям рекомендуется обновиться до версии 2.3.0, которая обеспечивает настраиваемый максимальный размер кадра и проверяет длину в зависимости от размера читаемого кадра.
Показать оригинальное описание (EN)
Unbounded memory allocation and missing frame size validation in Apache NMS ActiveMQ (the .NET OpenWire client, package Apache.NMS.ActiveMQ) before 2.3.0. The OpenWire unmarshalling code trusted the frame size and the length and count fields read from the network. It did not enforce a maximum frame size, and it did not check that decoded lengths fit within the frame being read. A malicious or compromised broker, or an attacker able to intercept and modify an unencrypted connection, could send a crafted OpenWire frame with an oversized or negative length. This could cause the client to attempt very large memory allocations, leading to excessive memory consumption, an OutOfMemoryException or an uncaught exception, and a denial of service of the client application. Users are recommended to upgrade to version 2.3.0, which enforces a configurable maximum frame size and validates lengths against the size of the frame being read.
Характеристики атаки
Последствия
Строка CVSS v3.1