4 ms·
Rsync vulnerabilities
- captainbland 2y ago> Anonymous read access to a rsync server... such as on a public mirror I did not know people did that.
- arantius 2y agoFor a concrete example: https://www.gentoo.org/support/rsync-mirrors/ https://www.gentoo.org/support/rsync-mirrors/ Gentoo's package manager most typically updates over rsync.
- captainbland 2y agoOh that's interesting. Thanks
- jmclnx 2y agoSlackware 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.
- cf100clunk 2y agoI'm running several Linux distros and package updates to rsync version 3.2.7 have showed up on all of them already. I can't comment on openrsync.
- crest 2y agoGiven the more permissive license openrsync would be in a pickle if they stole the vulnerable GPL code and claimed to redistribute it under BSD license instead of reimplementing the protocol.
- snvzz 2y agoWhich is highly unlikely to happen in openbsd.
- ducktective 2y agoDebian issued a security update too: rsync (3.2.7-1+deb12u1) bookworm-security; urgency=high
- somat 2y agoopenrsync is a neat story, it was made because they wanted to use rsync in the rpki system, but the standards body balked, saying they should not be using something where the standard was the implementation, so the openbsd folk(specifically Kristaps Dzonsons) stepped up and made a second rsync implementation so that the standards body could accept the protocol. http://man.openbsd.org/rpki-client http://man.openbsd.org/rpki-client
- concerndc1tizen 2y agoDo I read correctly that this is related to "rsync daemon" (rsyncd), and therefore has minimal impact on people who just use rsync over ssh?
- throwaway984393 2y ago[dead]
- bell-cot 2y agoMy 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.
- kees99 2y ago> 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.
- nrdvana 2y agoHe said where untrusted parties aren't able to run rsync. If I was running an rsync daemon facing the public, it would be in a chroot with dropped privileges.
- mhw 2y agoMy reading is that the first two CVEs are with rsync daemon, but the others are more general - I think "rsync server" is meaning the remote rsync process that is started when you use ssh to connect to the remote. Some of them suggest the rsync client (running on your machine) can be coerced to write to unexpected locations by a malicious rsync server specifically crafted to exploit these CVEs. One suggests a malicious rsync server might be able to reconstruct the contents of arbitrary files on the client using requests sent via the rsync protocol. I guess the main takeaway is to be careful using rsync connections to machines that you don't trust.
- chasil 2y agoDoes this apply to the GPL or BSD codebase? There are (now) two rsync codebases. GPL: https://rsync.samba.org/ https://rsync.samba.org/ BSD: https://www.openrsync.org/ https://www.openrsync.org/
- crest 2y agoIt applies to only to rsync and to not the (Open)BSD rewrite openrsync. openrsync intentionally doesn't reimplement all features so it's not always a drop in replacement.
- samueloph 2y agoThere's a serious regression in the fixes: https://github.com/RsyncProject/rsync/issues/702 https://github.com/RsyncProject/rsync/issues/702 It impacts those who need to use `-r` (recursive) together with `-H` (preserve hardlinks),
- deleted 2y ago[deleted]
- SOLAR_FIELDS 2y agoFix was merged an hour ago, roughly an hour after you made this comment (at which time they were still working on it)
- samueloph 2y agoThere's another one: https://github.com/RsyncProject/rsync/issues/715 https://github.com/RsyncProject/rsync/issues/715
- ThatGuyRaion 2y agoAre these applicable to the openrsync project?
- snvzz 2y agoOpenbsd do unsurprisingly have higher standards for code quality.