CVE-2017-8805 Path traversal in Debian ftpsync before 20171017

Critical 9.1 Published Updated

Remote attackers can perform directory traversal via a crafted upstream mirror because Debian ftpsync fails to use the rsync --safe-links option.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-8805?

CVE-2017-8805 is a critical path traversal vulnerability in Debian ftpsync before 20171017, published on 17 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Debian ftpsync before 20171017 does not use the rsync --safe-links option, which allows remote attackers to conduct directory traversal attacks via a crafted upstream mirror.

Weakness: CWE-22

Which versions are affected by CVE-2017-8805?

It affects 1 product.

Products include Debian Ftpsync.

How do I fix CVE-2017-8805?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2017-8805 being exploited?

There is no known exploitation of CVE-2017-8805 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-8805, GHSA-f9qc-p869-hxxw.

Is CVE-2017-8805 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free