Š£ŃŠ·Š²ŠøŠ¼Š¾ŃŃ‚ŃŒ в http2-моГуле ŠøŠ· состава Node.js

Node.js server-side JavaScript platform developers have released corrective versions 12.22.4, 14.17.4, and 16.6.0, which partially address the vulnerability (CVE-2021-22930) in the http2 module (HTTP/2.0 client) that allows a crash of the process to be initiated or potentially enables the execution of arbitrary code on the system when accessing a host controlled by an attacker.

The issue is caused by accessing an already freed memory area when closing a connection after receiving RST_STREAM frames (stream reset) for streams where intensive read operations are performed that block writing. If an RST_STREAM frame is received without an error code, the http2 module additionally invokes the cleanup procedure for already received data, which causes the closure handler to be called again for an already closed stream, leading to a double freeing of data structures.

Diskusijā par labojuma uzlaboÅ”anu tiek minēts, ka problēma nav pilnÄ«bā novērsta un, pie veiktām nelielām izmaiņām apstākļos, turpina parādÄ«ties publicētajos atjauninājumos. Izpēte parādÄ«ja, ka labojums risina tikai vienu no konkrētajiem gadÄ«jumiem — kad plÅ«sma ir lasīŔanas režīmā, bet neņem vērā citus plÅ«smas stāvokļus (lasīŔana un apturēŔana, apturēŔana un daži ieraksta veidi).

Avots: opennet.lv

Iegādājieties uzticamu tÄ«mekļa hostingu ar DDoS aizsardzÄ«bu, VPS VDS serveriem šŸ”„ Iegādājieties uzticamu tÄ«mekļa hostingu ar DDoS aizsardzÄ«bu, VPS VDS serveriem | ProHoster