CVE-2017-17433
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | rsync | Fixed | 3.1.1-3ubuntu1.1 | UBUNTU-CVE-2017-17433 |
| Ubuntu 14.04 | rsync | Fixed | 3.1.0-2ubuntu0.3 | UBUNTU-CVE-2017-17433 |
| Debian 14 | rsync | Fixed | 3.1.2-2.1 | DEBIAN-CVE-2017-17433 |
| Debian 13 | rsync | Fixed | 3.1.2-2.1 | DEBIAN-CVE-2017-17433 |
| Debian 12 | rsync | Fixed | 3.1.2-2.1 | DEBIAN-CVE-2017-17433 |
| Red Hat Enterprise Linux 7 | rsync | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | rsync | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | rsync | Will not fix Will not fix | ||
| Alpine Linux 3.24 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.23 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.22 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.21 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.20 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.19 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.18 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.17 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.16 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.15 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.14 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.13 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.12 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.11 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.10 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.9 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.8 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.7 | rsync | Fixed | 3.1.2-r7 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.6 | rsync | Fixed | 3.1.2-r6 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.5 | rsync | Fixed | 3.1.2-r3 | ALPINE-CVE-2017-17433 |
| Alpine Linux 3.4 | rsync | Fixed | 3.1.2-r3 | ALPINE-CVE-2017-17433 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2017/dsa-4068 (vendor-advisory)
References
- http://security.cucumberlinux.com/security/details.php?id=169
- https://git.samba.org/?p=rsync.git%3Ba=commit%3Bh=3e06d40029cfdce9d0f73d87cfd4edaf54be9c51
- https://www.debian.org/security/2017/dsa-4068
- https://lists.debian.org/debian-lts-announce/2017/12/msg00020.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.