netty-incubator-codec-ohttp реализует шлюз Oblivious HTTP (OHTTP) и функциональность клиента, используя Netty. До 0.0.23.Final путь расшифровки шлюза OHTTP в codec-ohttp/src/main/java/io/netty/incubator/codec/ohttp/OHttpRequestResponseContext.java выделяет объединенный прямой ByteBuf для расшифрованного открытого текста до проверки тега AEAD. Когда неверный тег вызывает decryptChunk(), чтобы бросить CryptoException, OHttpRequestResponseContext.decodeChunk() не выпускает ByteBuf, потому что выделение не охраняется try/finally.
Таким образом, повторные неверные зашифрованные запросы могут утечь из родной памяти вне кучи до тех пор, пока шлюз не сможет продолжать обслуживать запросы. Эта проблема исправлена в версии 0.0.23.Final.
Показать оригинальное описание (EN)
netty-incubator-codec-ohttp implements Oblivious HTTP (OHTTP) gateway and client functionality using Netty. Prior to 0.0.23.Final, the OHTTP gateway decryption path in codec-ohttp/src/main/java/io/netty/incubator/codec/ohttp/OHttpRequestResponseContext.java allocates a pooled direct ByteBuf for decrypted plaintext before the AEAD tag is verified. When an invalid tag causes decryptChunk() to throw CryptoException, OHttpRequestResponseContext.decodeChunk() does not release the ByteBuf because the allocation is not guarded by try/finally. Repeated invalid encrypted requests can therefore leak native off-heap memory until the gateway is unable to continue serving requests. This issue is fixed in version 0.0.23.Final.
Характеристики атаки
Последствия
Строка CVSS v4.0