Выпуск непроверенного открытого текста в режимах CCM (CcmBlockCipher) и DSTU 7624 CCM (KCcmBlockCipher) AEAD в режиме Legion из Bouncy Castle Inc. bc-csharp перед 2.7.0 позволяет удаленному злоумышленнику получить расшифровку шифротекстов по своему выбору через поддельные сообщения, отправленные в приложение, которое позволяет наблюдать буфер вывода неудачной дешифровки, например, через повторное использование буфера или журналирование. Затрагивается только расшифровка в буфер, поставляемый вызывающему абоненту; методы, которые возвращают вновь выделенный массив, нет.
Показать оригинальное описание (EN)
Release of unverified plaintext in the CCM (CcmBlockCipher) and DSTU 7624 CCM (KCcmBlockCipher) AEAD modes in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote attacker to obtain decryptions of ciphertexts of their choosing via forged messages sent to an application that lets the output buffer of a failed decryption be observed, for example through buffer reuse or logging, because decryption wrote the recovered plaintext into the caller-supplied output buffer before checking the authentication tag and left it there when the check failed. Only decryption into a caller-supplied buffer is affected; methods that return a newly allocated array are not.
Характеристики атаки
Последствия
Строка CVSS v4.0
Тип уязвимости (CWE)
Уязвимые продукты 1
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Bouncycastle Bc-Csharp
cpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:*
|
— |
2.7.0
|