SMB2 pipe transceive ішінде Samba жадының сарқылуы
Samba
Қысқаша
Samba файл сервері атаулы арна жауабы үшін өте үлкен көлемде жад бөлуге мәжбүрленуі мүмкін, себебі клиент таңдаған өлшем клиент пен сервер келіскен максимум шегінде сақталмайды. Төмен артықшылықты кіру мүмкіндігі бар желілік шабуылдаушы сұрауларды байланыстар бойынша қайталау арқылы сервер жадын сарқып, осы сұраулар жалғасқанша файл қызметін қолжетімсіз ете алады.
Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.
Түзету
Түзетілген нұсқа көрсетілмеген.
Зардап шегетін нұсқалар
| samba | бастап 3.5.0 |
Түпнұсқа сипаттама (EN)
Түпнұсқа тақырып: Samba memory exhaustion in SMB2 pipe transceive
An **uncontrolled memory allocation** flaw has been found in the smbd_smb2_ioctl_pipe_write_done() function in source3/smbd/smb2_ioctl_named_pipe.c of the SMB2 named-pipe ioctl handling in the **Samba** package. The file server reserves memory for a named-pipe response using a size chosen by the client. It does not keep that size within the maximum the client and the server have already agreed. A low-privileged network attacker or user who can open a named pipe can request a very large response. The file server reserves that memory before it reads the pipe and holds it until the request ends. Repeating this on more connections can exhaust memory and keep the file service unavailable while those requests continue.