Bug 1293854 - (CVE-2014-9512) CVE-2014-9512 rsync: Transferring file outside destination path via just-sent symlink
CVE-2014-9512 rsync: Transferring file outside destination path via just-sent...
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 1293856
Blocks: 1295358
  Show dependency treegraph
Reported: 2015-12-23 04:38 EST by Adam Mariš
Modified: 2016-03-15 07:31 EDT (History)
6 users (show)

See Also:
Fixed In Version: rsync 3.1.2
Doc Type: Bug Fix
Doc Text:
It was discovered that rsync did not properly perform sanity checks on certain meta-information. By sending specially crafted meta-information, a remote attacker could possibly exploit this flaw to cause an rsync endpoint to write data to files outside of the expected destination path.
Story Points: ---
Clone Of:
Last Closed: 2016-02-18 05:51:02 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Adam Mariš 2015-12-23 04:38:47 EST
A security fix in rsync 3.1.2 was released, adding extra check to the file list to prevent the malicious sender to use unsafe destination path for transferred file, such as just-sent symlink. Affects versions older than 3.1.2.

Upstream patches:

 - Complain if an inc-recursive path is not right for its dir.

 - Add parent-dir validation for --no-inc-recurse too.

Additional similar security patches:

 - Receiver now rejects invalid filenames in filelist.

 - Have receiver strip bogus leading slashes on filenames.
Comment 1 Adam Mariš 2015-12-23 04:39:12 EST
Created rsync tracking bugs for this issue:

Affects: fedora-all [bug 1293856]
Comment 2 Fedora Update System 2016-01-10 14:23:32 EST
rsync-3.1.1-8.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 3 Fedora Update System 2016-01-21 22:18:55 EST
rsync-3.1.1-7.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Comment 4 Andrej Nemec 2016-01-22 03:05:53 EST
Assigned CVE-2014-9512 as reported in https://packetstormsecurity.com/files/135351/USN-2879-1.txt

Note You need to log in before you can comment on or make changes to this bug.