Forge (также называемый node-forge) — нативная реализация Transport Layer Security в JavaScript. До 1.4.3 клиент forge.tls принимает ServerHello compression_method, который он не предлагал. Когда клиент позже обрабатывает ServerHelloDone, tls.createConnectionState() отклоняет неподдерживаемый алгоритм сжатия, бросая Error, который распространяется из connection.process().
Вредоносный сервер или атакующий на пути может изменить неаутентифицированный байт сжатия ServerHello перед сообщением сервера Finished и прекратить процесс Node.js, если приложение не уловит исключение. Затронутые пути клиента включают прямое использование forge.tls, forge.tls.wrapSocket и forge.http; серверы forge.tls не затронуты, и проблема не влияет на конфиденциальность или целостность. Эта проблема исправлена в версии 1.4.3.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 1
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Digitalbazaar Forge
cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*
|
— |
1.4.3
|