CVE-2017-1000420 Syncthing vulnerable to symlink traversal and arbitrary file overwrite

High 7.5 Published Updated

Attackers can exploit symlink traversal in Syncthing to overwrite arbitrary files on the system.

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-1000420?

CVE-2017-1000420 is a high-severity path traversal vulnerability in n/a, published on 2 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Syncthing version 0.14.33 and older is vulnerable to symlink traversal resulting in arbitrary file overwrite

Weakness: CWE-59

Which versions are affected by CVE-2017-1000420?

2 open source packages ship an affected version, including github.com/syncthing/syncthing. It affects 1 product.

PackageAffectedFixed in
github.com/syncthing/syncthing GoAll versions to 0.14.33None
github.com/syncthing/syncthing GoAll versions to 0.14.33None

Products include Syncthing Syncthing.

How do I fix CVE-2017-1000420?

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-1000420 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-1000420, GHSA-28xp-g7f6-7mhf.

Is CVE-2017-1000420 in your software?

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

Check your SBOMs for free