CVE-2022-46165

NameCVE-2022-46165
DescriptionSyncthing is an open source, continuous file synchronization program. In versions prior to 1.23.5 a compromised instance with shared folders could sync malicious files which contain arbitrary HTML and JavaScript in the name. If the owner of another device looks over the shared folder settings and moves the mouse over the latest sync, a script could be executed to change settings for shared folders or add devices automatically. Additionally adding a new device with a malicious name could embed HTML or JavaScript inside parts of the page. As a result the webUI may be subject to a stored cross site scripting attack. This issue has been addressed in version 1.23.5. Users are advised to upgrade. Users unable to upgrade should avoid sharing folders with untrusted users.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1037432

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
syncthing (PTS)bullseye1.12.1~ds1-4vulnerable
bookworm1.19.2~ds1-1vulnerable
sid, trixie1.27.7~ds1-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
syncthingsource(unstable)1.27.2~ds4-11037432

Notes

[bookworm] - syncthing <ignored> (Minor issue)
[bullseye] - syncthing <no-dsa> (Minor issue)
[buster] - syncthing <ignored> (Minor issue)
https://github.com/syncthing/syncthing/security/advisories/GHSA-9rp6-23gf-4c3h
https://github.com/syncthing/syncthing/commit/73c52eafb6566435dffd979c3c49562b6d5a4238 (v1.23.5)

Search for package or bug name: Reporting problems