GitHub Advisory Database
GHSA-28xp-g7f6-7mhf
Syncthing vulnerable to symlink traversal and arbitrary file overwrite
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/syncthing/syncthing | All versions up to and including 0.14.33 |