There are 6 security vulnerabilities in rsync versions 3.3.0 and below. More information here.
You can discover if you’re running a vulnerable version by running:
pacman -Q rsync
If you’re running an older version than 3.3.0 you may be vulnerable, and by installing an updates you should get a newer version (I got 3.4.0-1 after updating).
“When combined, the first two vulnerabilities (heap buffer overflow and information leak) allow a client to execute arbitrary code on a device that has an Rsync server running. The client requires only anonymous read-access to the server, such as public mirrors. Additionally, attackers can take control of a malicious server and read/write arbitrary files of any connected client. Sensitive data, such as SSH keys, can be extracted, and malicious code can be executed by overwriting files such as ~/.bashrc or ~/.popt.”
A very unique use-case to be sure. From what I gather only people doing online/cloud backups are affected, not home users backing up to an external hdd for instance?
I would think the package maintainer should be onto this or onto it when they go online, seems they only need to apply a patch which by the topic if you use can apply yourself
It’s possible that the RCE from the article you quoted could be initiated from the local machine as it seems that local jobs are still using the client/server model. However, I could be completely mistaken in that.
Updating rsync is easy enough that I would probably install updates.
clearer, thanks both. I will trust the update when it comes. if the client/server model is used then this app regulalry calls out? Grsync is a monthly tool for me. Thanks for posting this.
fyi, I talked to the dev of another distro and he told me of the 6, 4 vulnerabilities were restricted to cloud saving and 2 directly affected home users doing a traditional backup.
BTW, what’s odd is that the upgrade (after updating mirrors) worked perfectly on one installation (desktop) but the same method of updating mirrors didn’t offer the 3.4 rsync version on another installation (laptop).
Both systems are running Linux 6.12.8-zen as I keep these computers fairly fresh. Also tried rebooting after mirror update, to no avail.
EDIT UPDATE: Tried same procedures on a third PC (also running Linux 6.12.8-zen) with same issue - i.e., it cannot see rsync 3.4 after updating mirrors and rebooting.
As of this writing, I’m at 1 for 3 successful upgrades to rsync 3.4.0-1, with two other PCs - all running same recent kernel/system updates with newly updated mirrors (per above) - that cannot seem to receive anything beyond the currently installed 3.3.0-2 rsync. Curious enough