4.8 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): Low (L)
- Integrity (I): Low (L)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
Rsync: hostname/ACL bypass on DNS-lookup failure
Rsync is a file-copying tool that uses a delta-transfer algorithm to synchronize remote and local files. In versions prior to 3.4.3, when using a daemon configured with a chroot, the reverse DNS lookup of the connecting client was performed after the chroot had been entered. If the chroot did not contain the files glibc needs for resolution (/etc/resolv.conf, /etc/nsswitch.conf, /etc/hosts, NSS service modules), the lookup failed and the connecting hostname was set to "UNKNOWN". Hostname-based deny rules ("hosts deny = *.evil.example") therefore could not match, and an attacker who controlled the PTR record for their source IP could connect from a hostname that the administrator had intended to deny. IP-based ACLs ("hosts allow = 10.0.0.0/8") are unaffected. This issue is fixed in version 3.4.3.
References
-
https://github.com/RsyncProject/rsync/security/advisories/GHSA-rjfm-3w2m-jf4f x_refsource_CONFIRM
Affected products
- ==< 3.4.3
Matching in nixpkgs
pkgs.rsync
Fast incremental file transfer utility
pkgs.grsync
Synchronize folders, files and make backups
pkgs.rrsync
Helper to run rsync-only environments from ssh-logins
pkgs.rsyncy
Progress bar wrapper for rsync
pkgs.btrsync
Btrfs replication made easy
pkgs.parsync
Tool to parallel rsync-like pull sync over SSH
pkgs.librsync
Implementation of the rsync remote-delta algorithm
pkgs.diskrsync
Rsync for block devices and disk images
pkgs.openrsync
BSD-licensed implementation of rsync
-
nixos-unstable 2025-01-27
- nixpkgs-unstable 2025-01-27
- nixos-unstable-small 0.5.0-unstable-2026-05-31
-
nixos-26.05 2025-01-27
- nixos-26.05-small 2025-01-27
- nixpkgs-26.05-darwin 2025-01-27
pkgs.vdirsyncer
Synchronize calendars and contacts
pkgs.sqlite-rsync
Database remote-copy tool for SQLite
pkgs.yaziPlugins.rsync
Simple rsync plugin for yazi file manager
-
nixos-unstable 0-unstable-2026-03-07
- nixpkgs-unstable 0-unstable-2026-03-07
- nixos-unstable-small 1.0.1
-
nixos-26.05 0-unstable-2026-03-07
- nixos-26.05-small 0-unstable-2026-03-07
- nixpkgs-26.05-darwin 0-unstable-2026-03-07
pkgs.python313Packages.btrsync
Btrfs replication made easy
pkgs.python314Packages.btrsync
Btrfs replication made easy
pkgs.python313Packages.sysrsync
Simple and safe system's rsync wrapper for Python
pkgs.python314Packages.sysrsync
Simple and safe system's rsync wrapper for Python
pkgs.python313Packages.vdirsyncer
Synchronize calendars and contacts
Package maintainers
-
@bcyran Bazyli Cyran <bazyli@cyran.dev>
-
@jluttine Jaakko Luttinen <jaakko.luttinen@iki.fi>
-
@kuznero Roman Kuznetsov <roman@kuznero.com>
-
@fgaz Francesco Gazzetta <fgaz@fgaz.me>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@veprbl Dmitry Kalinkin <veprbl@gmail.com>
-
@stephen-huan Stephen Huan <stephen.huan@cgdct.moe>
-
@balsoft Alexander Bantyev <balsoft75@gmail.com>
-
@andir Andreas Rammhold <andreas@rammhold.de>
-
@pyrox0 Pyrox <pyrox@pyrox.dev>
-
@leona-ya Leona Maroni <nix@leona.is>
-
@nycodeghg Marie Ramlow <tabmeier12+nix@gmail.com>
-
@JohnAZoidberg Daniel Schäfer <git@danielschaefer.me>
-
@teto Matthieu Coudron <mcoudron@hotmail.com>