6.9 MEDIUM
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): Low (L)
- Vulnerable System Impact Availability (VA): None (N)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): Low (L)
- Modified Vulnerable System Impact Availability (MVA): None (N)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
rsync < 3.5.0 Privilege Confusion via name-converter uid/gid mapping
rsync tbefore 3.5.0 contains a privilege confusion vulnerability in the name-converter subprocess uid/gid mapping that allows local attackers to cause transferred files to be owned by root by influencing name-converter responses to return empty values. When the name-converter subprocess returns an empty response for a uid or gid lookup, rsync incorrectly interprets it as a successful resolution to uid/gid 0 (root) rather than a lookup failure, and if the name-converter also signals fake super-user status, rsync proceeds with root ownership assignments for transferred files.
References
-
GitHub Security Advisory (GHSA-hx7p-3gvv-pqgv) vendor-advisory
-
Release Notes release-notes
-
https://www.vulncheck.com/advisories/rsync-privilege-confusion-via-name-convert… third-party-advisory
Affected products
- =<3.4.4
- ==3.5.0
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.lazyrsync
Terminal UI for rsync with profiles, dry-run preview and live progress
-
nixos-unstable -
- nixos-unstable-small 0.2.0
pkgs.openrsync
BSD-licensed implementation of rsync
-
nixos-unstable 2025-01-27
- nixpkgs-unstable 0.5.0-unstable-2026-05-31
- 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>
-
@leona-ya Leona Maroni <nix@leona.is>
-
@balsoft Alexander Bantyev <balsoft75@gmail.com>
-
@pyrox0 Pyrox <pyrox@pyrox.dev>
-
@andir Andreas Rammhold <andreas@rammhold.de>
-
@nycodeghg Marie Ramlow <tabmeier12+nix@gmail.com>
-
@JohnAZoidberg Daniel Schäfer <git@danielschaefer.me>
-
@teto Matthieu Coudron <mcoudron@hotmail.com>
-
@KiryuuLight Luis Ortiz