Does this apply to the GPL or BSD codebase? There are (now) two rsync codebases. GPL: https://rsync.samba.org/ BSD: https://www.openrsync.org/
Rsync vulnerabilities
11–20 of 27 posts
Re: Rsync vulnerabilities
#12Slackware sent a fixed version of rsync out yesterday. But I wonder of OpenBSD's openrsync has the same issue ? Or did that version avoid the issues when it was created ? If it was avoided, seems OpenBSD was ahead of the curve again.
Re: Rsync vulnerabilities
#13It impacts those who need to use `-r` (recursive) together with `-H` (preserve hardlinks),
Re: Rsync vulnerabilities
#14Slackware sent a fixed version of rsync out yesterday. But I wonder of OpenBSD's openrsync has the same issue ? Or did that version avoid the issues when it was created ? If it was avoided, seems OpenBSD was ahead of the curve again.
rsync (3.2.7-1+deb12u1) bookworm-security; urgency=highRe: Rsync vulnerabilities
#15Do I read correctly that this is related to "rsync daemon" (rsyncd), and therefore has minimal impact on people who just use rsync over ssh?
My read (not an expert) is that you are safe if your rsync is only via secure connections, to & from systems where untrusted parties can neither run rsync, nor play clever games with the files which rsync is accessing. Which (in my paranoid opinion) is pretty much the only secure use case anyway, for code like rsync.
Not quite. If server has "command=rsync ..." in ~/.ssh/authorized_keys file, for some ssh key (to allow rsync access, but deny shell access), this vulnerability will allow attacker in possession of that ssh key to go around that restriction, and get shell nonetheless.
Re: Rsync vulnerabilities
#16Earlier quoted context omitted.
My read (not an expert) is that you are safe if your rsync is only via secure connections, to & from systems where untrusted parties can neither run rsync, nor play clever games with the files which rsync is accessing. Which (in my paranoid opinion) is pretty much the only secure use case anyway, for code like rsync.
> you are safe if your rsync is only via secure connections Not quite. If server has "command=rsync ..." in ~/.ssh/authorized_keys file, for some ssh key (to allow rsync access, but deny shell access), this vulnerability will allow attacker in possession of that ssh key to go around that restriction, and get shell nonetheless.
If I was running an rsync daemon facing the public, it would be in a chroot with dropped privileges.
Re: Rsync vulnerabilities
#17There's a serious regression in the fixes: https://github.com/RsyncProject/rsync/issues/702 It impacts those who need to use `-r` (recursive) together with `-H` (preserve hardlinks),
Re: Rsync vulnerabilities
#18Slackware sent a fixed version of rsync out yesterday. But I wonder of OpenBSD's openrsync has the same issue ? Or did that version avoid the issues when it was created ? If it was avoided, seems OpenBSD was ahead of the curve again.
Re: Rsync vulnerabilities
#19There's a serious regression in the fixes: https://github.com/RsyncProject/rsync/issues/702 It impacts those who need to use `-r` (recursive) together with `-H` (preserve hardlinks),