Every CVE Search/ Get API key

CVE-2017-17434

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp...

9.8 CriticalFix available

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.27%Up 1.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.

Record
CVE-2017-17434
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Updated
2026-11-02
CVE List No score

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.

Record
CVE-2017-17434
Updated
2026-11-02
EUVDEUVD-2017-8598 No score

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.

Record
EUVD-2017-8598
Updated
2026-11-03
GitHub AdvisoriesGHSA-mqj4-x9gm-m5r5 9.8

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp...

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.

Record
GHSA-mqj4-x9gm-m5r5
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALPINE-CVE-2017-17434 9.8

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.

Record
ALPINE-CVE-2017-17434
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2017-17434 9.8

CVE-2017-17434 does not affect BellSoft software

Record
BELL-CVE-2017-17434
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 9 moreShow less
OSV 9.8

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.

Record
CVE-2017-17434
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-17434 9.8

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.

Record
DEBIAN-CVE-2017-17434
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-17434 9.8

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions.

Record
UBUNTU-CVE-2017-17434
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVCLSA-2026-1776769741 No score

rsync: Fix of 3 CVEs

  • CVE-2017-16548: fix heap overread in receive_xattr by enforcing trailing NUL on received xattr names
  • CVE-2017-17434: sanitize xname in read_ndx_and_attrs and check daemon filter against fnamecmp in recv_files
  • CVE-2018-5764: prevent client from resetting protect_args during the second parse_arguments pass on the daemon
Record
CLSA-2026-1776769741
Updated
2026-11-02
OSVCLSA-2026-1776791634 No score

rsync: Fix of 3 CVEs

  • CVE-2017-16548: fix heap overread in receive_xattr by enforcing trailing NUL on received xattr names
  • CVE-2017-17434: sanitize xname in read_ndx_and_attrs and check daemon filter against fnamecmp in recv_files
  • CVE-2018-5764: prevent client from resetting protect_args during the second parse_arguments pass on the daemon
Record
CLSA-2026-1776791634
Updated
2026-11-02
OSVMGASA-2017-0452 No score

Updated rsync package fixes security vulnerabilities

The recv_files function in receiver.c in the daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, proceeds with certain file metadata updates before checking for a filename in the daemon_filter_list data structure, which allows remote attackers to bypass intended access restrictions. (CVE-2017-17433)

The daemon in rsync 3.1.2, and 3.1.3-development before 2017-12-03, does not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also does not apply the sanitize_paths protection mechanism to pathnames found in "xname follows" strings (in the read_ndx_and_attrs function in rsync.c), which allows remote attackers to bypass intended access restrictions. (CVE-2017-17434)

Record
MGASA-2017-0452
Updated
2026-11-02
OSVSUSE-SU-2018:0117-1 No score

Security update for rsync

This update for rsync fixes the following issues:

Security issues fixed:

  • CVE-2017-17434: The daemon in rsync did not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also did not apply the sanitize_paths protection mechanism to pathnames found in 'xname follows' strings (in the read_ndx_and_attrs function in rsync.c), which allowed remote attackers to bypass intended access restrictions' (bsc#1071460).
  • CVE-2017-17433: The recv_files function in receiver.c in the daemon in rsync, proceeded with certain file metadata updates before checking for a filename in the daemon_filter_list data structure, which allowed remote attackers to bypass intended access restrictions (bsc#1071459).
  • CVE-2017-16548: The receive_xattr function in xattrs.c in rsync did not check for a trailing '\0' character in an xattr name, which allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact by sending crafted data to the daemon (bsc#1066644).
Record
SUSE-SU-2018:0117-1
Updated
2026-11-02
OSVSUSE-SU-2018:0118-1 No score

Security update for rsync

This update for rsync fixes several issues.

These security issues were fixed:

  • CVE-2017-17434: The daemon in rsync did not check for fnamecmp filenames in the daemon_filter_list data structure (in the recv_files function in receiver.c) and also did not apply the sanitize_paths protection mechanism to pathnames found in 'xname follows' strings (in the read_ndx_and_attrs function in rsync.c), which allowed remote attackers to bypass intended access restrictions' (bsc#1071460).
  • CVE-2017-17433: The recv_files function in receiver.c in the daemon in rsync, proceeded with certain file metadata updates before checking for a filename in the daemon_filter_list data structure, which allowed remote attackers to bypass intended access restrictions (bsc#1071459).
  • CVE-2017-16548: The receive_xattr function in xattrs.c in rsync did not check for a trailing '\0' character in an xattr name, which allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact by sending crafted data to the daemon (bsc#1066644).

This non-security issue was fixed:

  • Stop file upload after errors like a full disk (bsc#1062063)
  • Ensure -X flag works even when setting owner/group (bsc#1028842)
Record
SUSE-SU-2018:0118-1
Updated
2026-11-02
OSVUSN-3506-1 No score

rsync vulnerabilities

It was discovered that rsync proceeds with certain file metadata updates before checking for a filename. An attacker could use this to bypass access restrictions. (CVE-2017-17433)

It was discovered that rsync does not check for fnamecmp filenames and also does not apply the sanitize_paths protection mechanism to pathnames. An attacker could use this to bypass access restrictions. (CVE-2017-17434)

Record
USN-3506-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
rsync
Alpine:v3.12
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.13
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.14
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.15
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.16
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.17
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.18
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.19
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.20
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.21
before 3.1.2-r7
3.1.2-r7
Show 27 moreShow less
Affected packages
PackageAffectedFixed
rsync
Alpine:v3.22
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.23
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.24
before 3.1.2-r7
3.1.2-r7
rsync
Alpine:v3.7
before 3.1.2-r7
3.1.2-r7
rsync
TuxCare:OracleLinux:6
From an advisory covering 3 CVEs
before 3.0.6-12.el6.tuxcare.els7
3.0.6-12.el6.tuxcare.els7
rsync
TuxCare:CentOS:6
From an advisory covering 3 CVEs
before 3.0.6-12.el6.tuxcare.els7
3.0.6-12.el6.tuxcare.els7
rsync
Debian:12
before 3.1.2-2.1
3.1.2-2.1
rsync
Debian:13
before 3.1.2-2.1
3.1.2-2.1
rsync
Debian:14
before 3.1.2-2.1
3.1.2-2.1
rsync
Debian:7
From an advisory covering 3 CVEs
before 3.0.9-4+deb7u1, plus listed versions
3.0.9-4
3.0.9-4+deb7u1
rsync
Debian:8
From an advisory covering 3 CVEs
before 3.1.1-3+deb8u1, plus listed versions
3.1.1-3
3.1.1-3+deb8u1
rsync
Debian:9
From an advisory covering 3 CVEs
before 3.1.2-1+deb9u1, plus listed versions
3.1.2-1
3.1.2-1+deb9u1
rsync
Mageia:5
From an advisory covering 2 CVEs
before 3.1.1-5.2.mga5
3.1.1-5.2.mga5
rsync
Mageia:6
From an advisory covering 2 CVEs
before 3.1.2-1.1.mga6
3.1.2-1.1.mga6
rsync
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 3 CVEs
before 3.0.4-2.53.3.1
3.0.4-2.53.3.1
rsync
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 3 CVEs
before 3.0.4-2.53.3.1
3.0.4-2.53.3.1
rsync
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 3 CVEs
before 3.1.0-13.7.1
3.1.0-13.7.1
rsync
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 3 CVEs
before 3.1.0-13.7.1
3.1.0-13.7.1
rsync
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 3 CVEs
before 3.1.0-13.7.1
3.1.0-13.7.1
rsync
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 3 CVEs
before 3.1.0-13.7.1
3.1.0-13.7.1
rsync
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 3 CVEs
before 3.1.0-13.7.1
3.1.0-13.7.1
rsync
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 3 CVEs
before 3.1.0-13.7.1
3.1.0-13.7.1
rsync
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 3 CVEs
before 3.1.0-13.7.1
3.1.0-13.7.1
rsync
Ubuntu:14.04:LTS
before 3.1.0-2ubuntu0.3, plus listed versions
3.0.9-4ubuntu13.1.0-23.1.0-2ubuntu0.13.1.0-2ubuntu0.2
3.1.0-2ubuntu0.3
rsync
Ubuntu:16.04:LTS
before 3.1.1-3ubuntu1.1, plus listed versions
3.1.1-33.1.1-3ubuntu1
3.1.1-3ubuntu1.1
rsync
Ubuntu:14.04:LTS
From an advisory covering 2 CVEs
before 3.1.0-2ubuntu0.3, plus listed versions
3.0.9-4ubuntu13.1.0-23.1.0-2ubuntu0.13.1.0-2ubuntu0.2
3.1.0-2ubuntu0.3
rsync
Ubuntu:16.04:LTS
From an advisory covering 2 CVEs
before 3.1.1-3ubuntu1.1, plus listed versions
3.1.1-33.1.1-3ubuntu1
3.1.1-3ubuntu1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-17434 is a critical vulnerability (CVSS 9.8) in Samba Rsync, published December 5, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.27%, the 88th percentile. Fixed in rsync 3.1.2-r7.

References

Show 26 moreShow less
MoveEnter Open