Генерация уязвимости Error Message Containing Sensitive Information в компоненте Apache Camel gRPC. Эта проблема затрагивает Apache Camel: от 4.0.0 до 4.18.5, от 4.19.0 до 4.22.1. Когда маршрут позади потребителя gRPC не удался, сообщение об исключении было помещено в описание состояния gRPC.
В отличие от причины состояния, которая остается локальной для сервера, описание передается вызывающему клиенту, поэтому внешний абонент, способный спровоцировать сбой, может прочитать внутреннее сообщение об ошибке. То, что раскрывается, зависит от исключения, и на практике включает имена классов и пакетов, пути, имена узлов и детали соединения, переносимые в сообщениях. Это gRPC член того же семейства unmuted-consumer-exception, что и опубликованные рядом с ним рекомендации knative, mina и CXF.
Обновление до Apache Camel 4.23.0, которое исправляет проблему. Пользователи потока релизов 4.18.x LTS должны обновиться до 4.18.5. Пользователи потока релизов 4.22.x LTS должны обновиться до 4.22.1.
Потребительская опция muteException, по умолчанию являющаяся истинной, помещает общее описание в состояние, а не сообщение об исключении маршрута. Установить muteExceptionfalse для восстановления предыдущего вывода. Для развертываний, которые не могут сразу обновиться, отображаются сбои на явное состояние в обработчике onException, поэтому фреймворк никогда не копирует сообщение об исключении в описание.
Показать оригинальное описание (EN)
Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel gRPC component. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1. When a route behind a gRPC consumer failed, the exception's message was placed into the gRPC status description. Unlike the status cause, which stays local to the server, the description is transmitted to the calling client, so an external caller able to provoke a failure could read the internal error message. What that discloses depends on the exception, and in practice includes class and package names, paths, host names and connection detail carried in messages. This is the gRPC member of the same unmuted-consumer-exception family as the knative, mina and CXF advisories published alongside it. Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. A muteException consumer option, defaulting to true, puts a generic description in the status instead of the route exception's message. Set muteException=false to restore the previous output. For deployments that cannot upgrade immediately, map failures onto an explicit status in an onException handler so the framework never copies the exception message into the description.
Характеристики атаки
Последствия
Строка CVSS v3.1