Debian Security Advisory
rsync -- Rare problem with corrupted file permissions
- Date Reported:
- 18 Aug 1999
- Affected Packages:
- Security database references:
- In Mitre's CVE dictionary: CVE-1999-0473.
- More information:
- The author of rsync, Andrew Tridgell, has reported that
former versions of rsync contained a security-related bug. If you were
transferring an empty directory into a non-existent directory on a remote host,
permissions on the remote host may be mangled. This bug may only happen in
very rare cases. It's not likely that you have experienced this, but you'd
better check the permissions of your home directories.
Here are some excerpts from Andrew's message to BUGTRAQ:
... released rsync 2.3.1 to fix [the security hole].
A user can't exploit this hole deliberately to gain privileges (ie. this is not an "active" security hole) but a system administrator could ... inadvertently compromise the security of their system.
The fix is to chmod your home directory back to the correct permissions and upgrade to rsync 2.3.1. The bug is in the receiving side of rsync, so it is quite safe to continue to use older anonymous rsync servers as long as you upgrade your client.
This bug has been present in all versions of rsync. I apologize for any inconvenience.
- Fixed in: