Forge: аварийное завершение TLS-клиента, когда сервер не отправляет сертификат
Кратко
Forge (node-forge), реализация TLS на JavaScript, подвержена уязвимости при использовании TLS-клиента для подключения к серверам. Злоумышленный сервер или атакующий, находящийся на пути (on-path), может опустить сертификат сервера, что приведёт к аварийному завершению работы клиента и потенциально к завершению процесса, в котором он выполняется.
Резюме сгенерировано ИИ по данным источников и переведено автоматически.
Исправление
Исправлено в версиях: 1.4.1
Затронутые версии
| forge | → исправлено в 1.4.1 |
| node-forgenpm | → исправлено в 1.4.1 |
Оригинальное описание (EN)
Оригинальный заголовок: Forge: TLS client crash when the server sends no certificate
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used forge.tls.createConnection(), c.session.serverCertificate, RSA key exchange to process the relevant input or security decision. node-forge's TLS client checked the wrong property when deciding whether a server certificate was missing. A malicious TLS server or on-path peer could omit the Certificate message and reach code that dereferenced the absent certificate, causing an uncaught exception and terminating the connection or process. This issue is fixed in version 1.4.1.