製品・ソフトウェアに関する情報
Samba Projectのrsyncにおける境界条件の判定に関する脆弱性
Title Samba Projectのrsyncにおける境界条件の判定に関する脆弱性
Summary

Rsyncのバージョン3.4.3より前には、socket.cのestablish_proxy_connection()関数にオフバイワンの境界外スタック書き込みの脆弱性が存在します。この脆弱性により、ネットワーク攻撃者が不正なHTTPプロキシレスポンスを送信してスタックメモリを破損させることが可能です。攻撃者はクライアントとプロキシの間に位置するか、またはプロキシサーバを制御し、改行終端子なしで1023バイト以上のレスポンス行を送信することでこの脆弱性を悪用できます。RSYNC_PROXY環境変数が設定されている場合、境界外のスタックアドレスにヌルバイトが書き込まれます。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアの一部が停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 20, 2026, midnight
Registration Date May 25, 2026, 10:19 a.m.
Last Update May 25, 2026, 10:19 a.m.
CVSS3.0 : 低
Score 3.7
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected System
Samba Project
rsync 3.4.3 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月25日]
  掲載
May 25, 2026, 10:19 a.m.

NVD Vulnerability Information
CVE-2026-45232
Summary

Rsync versions before 3.4.3 contain an off-by-one out-of-bounds stack write vulnerability in the establish_proxy_connection() function in socket.c that allows network attackers to corrupt stack memory by sending a malformed HTTP proxy response. Attackers can exploit this by positioning themselves between the client and proxy or controlling the proxy server to send a response line of 1023 or more bytes without a newline terminator, causing a null byte to be written to an out-of-bounds stack address when the RSYNC_PROXY environment variable is set.

Publication Date May 20, 2026, 11:16 a.m.
Registration Date May 21, 2026, 4:09 a.m.
Last Update May 22, 2026, 5:52 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:* 3.4.3
Related information, measures and tools
Common Vulnerabilities List