When two templated upstreams in temporal-proxy render the same address, a request routed to one upstream can be sent under the other upstream's credential, namespace translation, and payload encryption keys. temporal-proxy pools connections for templated upstreams by rendered address and TLS server name only, although each upstream's outbound credential, namespace translation, and payload encryption keys, where configured, are attached to its connection. Таким образом, запрос, маршрутизируемый в один восходящий поток, может быть отправлен по соединению, созданному другим, и служба Temporal в восходящем потоке авторизует его в качестве принципала другого восходящего потока. Проверка конфигурации отклоняет только идентичные значения hostPort, поэтому принимаются шаблоны, которые отличаются по тексту, но отображают один и тот же адрес.
Это смешивает обычный трафик двух вверх по течению, и вызывающий абонент, который внешний аутентификатор ограничивает пространство имен одного вверх по течению, может использовать его для действия под учетными данными другого вверх по течению. Развертывания с не более чем одним шаблонным восходящим потоком не затрагиваются. Временно-прокси версии 0.1.0 - 1.1.1 затронуты.
Проблема исправлена в 1.0.2, 1.1.2 и 1.2.0, и релизы до того, как 1.0.0 не получит исправления. Обновление до фиксированного релиза для развернутой незначительной линии релиза.
Показать оригинальное описание (EN)
When two templated upstreams in temporal-proxy render the same address, a request routed to one upstream can be sent under the other upstream's credential, namespace translation, and payload encryption keys. temporal-proxy pools connections for templated upstreams by rendered address and TLS server name only, although each upstream's outbound credential, namespace translation, and payload encryption keys, where configured, are attached to its connection. A request routed to one upstream can therefore be sent over the connection the other created, and the upstream Temporal service authorizes it as the other upstream's principal. Configuration validation rejects only identical hostPort values, so templates that differ in text but render the same address are accepted. This mixes the two upstreams' ordinary traffic, and a caller that an external authenticator restricts to one upstream's namespaces can use it to act under the other upstream's credential. Deployments with at most one templated upstream are not affected. temporal-proxy versions 0.1.0 through 1.1.1 are affected. The issue is fixed in 1.0.2, 1.1.2, and 1.2.0, and releases before 1.0.0 receive no fix. Upgrade to the fixed release for the deployed minor release line.
Характеристики атаки
Последствия
Строка CVSS v4.0