Десериализация уязвимости Untrusted Data в lasp-lang partisan позволяет неаутентифицированному удаленному злоумышленнику прерывать Erlang VM узла через Excessive Allocation. partisan_peer_service_server:handle_info/2 декодирует каждый кадр, который поступает на слушателя с помощью binary_to_term/1, без безопасной опции, до того, как handle_inbound/2 интерпретирует сообщение и до того, как какая-либо аутентификация осуществляется. TLS по умолчанию выключен, и слушатель принимает соединения от любого хоста, поэтому один кадр, который называет больше атомов, чем содержит таблица атомов, прерывает VM. partisan_peer_service_client:handle_info/2 декодирует кадры со стороны сервера соединения таким же образом. Декодирование также материализует забавы, порты и ссылки, которые фрейм кодирует и надувает сжатые термины.
Продемонстрированным эффектом является отказ в обслуживании. Партизан не вызывает декодированные забавы, поэтому выполнение кода не было показано. Эта проблема затрагивает партизан: от 3.0.0 до 6.4.0.
Показать оригинальное описание (EN)
Deserialization of Untrusted Data vulnerability in lasp-lang partisan allows an unauthenticated remote attacker to abort the Erlang VM of a node via Excessive Allocation. partisan_peer_service_server:handle_info/2 decodes every frame that arrives on the peer listener with binary_to_term/1, without the safe option, before handle_inbound/2 interprets the message and before any peer authentication takes place. TLS is off by default and the listener accepts connections from any host, so one frame that names more atoms than the atom table holds aborts the VM. partisan_peer_service_client:handle_info/2 decodes frames from the server side of a connection the same way. The decode also materializes funs, ports and references the frame encodes and inflates compressed terms. The demonstrated impact is denial of service. partisan does not invoke decoded funs, so code execution was not shown. This issue affects partisan: from 3.0.0 before 6.4.0.
Характеристики атаки
Последствия
Строка CVSS v4.0