CVE-2017-1000420
HIGH7.5EPSS 0.27%Syncthing vulnerable to symlink traversal and arbitrary file overwrite
Published: 5/14/2022Modified: 11/8/2023
Description
Syncthing version 0.14.33 and older erronously versions symlinks when they are deleted. If a directory is then created with the same name, a file created in that directory, and the file deleted, it is moved into the symlink target. This can lead to symlink traversal resulting in arbitrary file overwrite.
Affected packages (2)
- Debian/syncthingfrom 0, < 0.14.36+ds1-1
- Go/github.com/syncthing/syncthingfrom 0, <= 0.14.33
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2017-1000420
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2017-1000420
- PATCHhttps://github.com/syncthing/syncthing
- WEBhttps://github.com/syncthing/syncthing/commit/f1f21bf22020d9b881478c2e942ba6943c8da2f3
- WEBhttps://github.com/syncthing/syncthing/issues/4286