В p11-ките обнаружена ошибка. Функции анализа атрибутов сообщений RPC p11_rpc_message_get_attribute() и p11_rpc_message_get_attribute_array_value() образуют взаиморекурсивную цепочку вызовов без ограничения глубины рекурсии при обработке вложенных атрибутов CKA_WRAP_TEMPLATE, CKA_UNWRAP_TEMPLATE и CKA_DERIVE_TEMPLATE. Злоумышленник, не прошедший проверку подлинности и имеющий локальный доступ к доменному сокету RPC Unix p11-kit, может отправить специально созданный запрос с глубоко вложенными атрибутами шаблона, что приведет к исчерпанию стека и сбою серверного процесса p11-kit и его зависимых служб.
Показать оригинальное описание (EN)
A flaw was found in p11-kit. The RPC message attribute parsing functions p11_rpc_message_get_attribute() and p11_rpc_message_get_attribute_array_value() form a mutually-recursive call chain with no recursion depth limit when processing nested CKA_WRAP_TEMPLATE, CKA_UNWRAP_TEMPLATE, and CKA_DERIVE_TEMPLATE attributes. An unauthenticated attacker with local access to the p11-kit RPC Unix domain socket can send a specially crafted request with deeply nested template attributes, causing stack exhaustion and crashing the p11-kit server process and its dependent services.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 8
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Redhat Hardened_Images
cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
|
— | — |
|
Redhat Openshift_Container_Platform
cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
|
4.0
|
<= 4.22.1
|
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
|
— | — |
|
P11-Kit_Project P11-Kit
cpe:2.3:a:p11-kit_project:p11-kit:-:*:*:*:*:*:*:*
|
— | — |