Description
The copy_symlink function in rsnapshot 1.2.0 and 1.1.x before 1.1.7 changes the ownership of files that a symlink points to rather than the symlink itself, which allows local users to obtain access to arbitrary files.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rsnapshot | 1.2.1-1 | — |
| Debian 13 | rsnapshot | 1.2.1-1 | — |
| Debian 12 | rsnapshot | 1.2.1-1 | — |
References
- 20050410 rsnapshot Security Advisory 001 mailing-list
- 15420 vdb-entry
- GLSA-200504-12 vendor-advisory
- http://www.rsnapshot.org/security/2005/001.html
- 1013674 vdb-entry
- 14878 third-party-advisory