Forge: HTTP тақырыптары мен cookie файлдарын қысқарту кезінде қызмет көрсетуден бас тарту
Forge
Қысқаша
Forge (node-forge), JavaScript TLS кітапханасы, 1.4.3 нұсқасына дейінгі нұсқаларда сенімсіз сервермен сөйлесу үшін сокет пулымен пайдаланылған кезде forge.http модулінде тұрақты өрнек осалдығына ие. Зиянды сервер немесе жолдағы шабуылдаушы аутентификациясыз желіден арнайы жасалған жауап тақырыбын жіберіп, Node.js процесін немесе браузер қойындысын ұзақ уақытқа тоқтатып, қызмет көрсетуден бас тартуды тудыруы мүмкін.
Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.
Түзету
Түзетілген нұсқалар: 1.4.3
Зардап шегетін нұсқалар
| forge | бастап 0.1.2 → түзетілді 1.4.3 |
| node-forgenpm | бастап 0.1.2 → түзетілді 1.4.3 |
Түпнұсқа сипаттама (EN)
Түпнұсқа тақырып: Forge denial of service in HTTP header and cookie trimming
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. From 0.1.2 until 1.4.3, forge.http uses _trimString() in lib/http.js to remove trailing whitespace from response header values and cookie names and values with a regular expression that can take quadratic time. A malicious server or on-path attacker can supply a long whitespace run followed by a non-whitespace character in a response header, causing response.readHeader() or response.getCookies() to repeatedly scan the input and block the Node.js event loop or browser tab for minutes. Applications are affected only when they use forge.http with a socket pool to communicate with an untrusted server; forge.http is not loaded by require('node-forge'), and the issue has no confidentiality or integrity impact. This issue is fixed in version 1.4.3.