GHSA-28xp-g7f6-7mhf

Suggest an improvement
Source
https://github.com/advisories/GHSA-28xp-g7f6-7mhf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-28xp-g7f6-7mhf/GHSA-28xp-g7f6-7mhf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-28xp-g7f6-7mhf
Aliases
Published
2022-05-14T03:49:59Z
Modified
2023-11-08T03:58:46.184428Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
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.

Database specific
{
    "nvd_published_at": "2018-01-02T19:29:00Z",
    "cwe_ids": [
        "CWE-59"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-26T22:17:40Z"
}
References

Affected packages

Go / github.com/syncthing/syncthing

Package

Name
github.com/syncthing/syncthing
View open source insights on deps.dev
Purl
pkg:golang/github.com/syncthing/syncthing

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.14.33