Отказ в обслуживании Forge при рукопожатии TLS-клиента
Forge
Кратко
Forge (node-forge), реализация TLS на JavaScript, содержит дефект в коде TLS-клиента, из-за которого принимается метод сжатия, не предложенный сервером. Злоумышленник, способный связаться с клиентом по сети без аутентификации, может вызвать аварийное завершение процесса Node.js, отправив или изменив сообщение рукопожатия сервера, что приводит к отказу в обслуживании.
Резюме сгенерировано ИИ по данным источников и переведено автоматически.
Исправление
Исправлено в версиях: 1.4.3
Затронутые версии
| forge | → исправлено в 1.4.3 |
| node-forgenpm | → исправлено в 1.4.3 |
Оригинальное описание (EN)
Оригинальный заголовок: Forge denial of service in TLS client handshake
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, a forge.tls client accepts a ServerHello compression_method that it did not offer. When the client later handles ServerHelloDone, tls.createConnectionState() rejects the unsupported compression algorithm by throwing an Error that propagates from connection.process(). A malicious server or an on-path attacker can alter the unauthenticated ServerHello compression byte before the server Finished message and terminate a Node.js process when the application does not catch the exception. The affected client paths include direct forge.tls use, forge.tls.wrapSocket, and forge.http; forge.tls servers are not affected, and the issue has no confidentiality or integrity impact. This issue is fixed in version 1.4.3.