Cloudanix VulnDB

CVE-2017-17434

Critical · 9.8

CVSS

9.8

EPSS

3.3%

Published

Dec 6, 2017

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A problem in the file-copying tool used by some software packages could let outsiders reach or change files they are not supposed to access.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Data Exposure
Component
Network Service
Class
Path Traversal
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The rsync daemon fails to validate fnamecmp filenames against the daemon_filter_list in recv_files and omits sanitize_paths checks on xname follows strings in read_ndx_and_attrs, enabling path traversal that bypasses access controls.

Why it matters to the business

Remote attackers can reach or alter files outside intended directories across any systems running the vulnerable component, increasing breach and tampering risk for the 98 downstream dependents that rely on this package.

How an attack unfolds

An unauthenticated remote attacker connects to an exposed rsync daemon, supplies specially crafted filenames or xname follows strings that evade both filter lists and path sanitization, and performs read or write operations on arbitrary paths.

How to fix it

Upgrade tensorflow (Bitnami) to the fixed release 2.1.4; replace any bundled rsync 3.1.2/3.1.3-development builds with a patched version and restrict daemon exposure to trusted networks only.

How to confirm the fix worked

Confirm the installed tensorflow (Bitnami) package reports version 2.1.4 or later, verify rsync binary version is newer than the vulnerable development branch, and test that filter and sanitize protections now apply to crafted inputs.

Typical attack path

  1. Establish unauthenticated connection to the rsync daemon
  2. Transmit malicious fnamecmp or xname follows values that bypass daemon_filter_list
  3. Traverse outside the configured root to reach restricted files
  4. Read or modify sensitive data without triggering access controls

How to detect it

Review rsync daemon logs for connections followed by file operations referencing unexpected or parent-directory paths; correlate with receiver.c and rsync.c activity around the time of the connection.

What your security team should do

  • Apply the 2.1.4 package upgrade across all instances without delay
  • Disable or firewall rsync daemons unless explicitly required
  • Add runtime file-access monitoring for paths outside expected rsync roots

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.12 rsync 0 3.1.2-r7
Alpine:v3.13 rsync 0 3.1.2-r7
Alpine:v3.14 rsync 0 3.1.2-r7
Alpine:v3.15 rsync 0 3.1.2-r7
Alpine:v3.16 rsync 0 3.1.2-r7
Alpine:v3.17 rsync 0 3.1.2-r7
Alpine:v3.18 rsync 0 3.1.2-r7
Alpine:v3.19 rsync 0 3.1.2-r7
Alpine:v3.20 rsync 0 3.1.2-r7
Alpine:v3.21 rsync 0 3.1.2-r7
Alpine:v3.22 rsync 0 3.1.2-r7
Alpine:v3.7 rsync 0 3.1.2-r7
Debian:11 rsync 0 3.1.2-2.1
Debian:12 rsync 0 3.1.2-2.1
Debian:13 rsync 0 3.1.2-2.1
Debian:14 rsync 0 3.1.2-2.1
Debian:7 rsync 0 3.0.9-4+deb7u1
Debian:8 rsync 0 3.1.1-3+deb8u1
Debian:9 rsync 0 3.1.2-1+deb9u1
Mageia:5 rsync 0 3.1.1-5.2.mga5
Mageia:6 rsync 0 3.1.2-1.1.mga6
SUSE:Linux Enterprise Desktop 12 SP2 rsync 0 3.1.0-13.7.1
SUSE:Linux Enterprise Desktop 12 SP3 rsync 0 3.1.0-13.7.1
SUSE:Linux Enterprise Server 11 SP4 rsync 0 3.0.4-2.53.3.1
SUSE:Linux Enterprise Server 12 SP2 rsync 0 3.1.0-13.7.1
SUSE:Linux Enterprise Server 12 SP3 rsync 0 3.1.0-13.7.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 rsync 0 3.1.0-13.7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 rsync 0 3.0.4-2.53.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 rsync 0 3.1.0-13.7.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 rsync 0 3.1.0-13.7.1
Ubuntu:14.04:LTS rsync 0 3.1.0-2ubuntu0.3
Ubuntu:16.04:LTS rsync 0 3.1.1-3ubuntu1.1

Related vulnerabilities