Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908034 (CVE-2022-46165) - <net-p2p/syncthing-1.23.5: XSS via shared folder names
Summary: <net-p2p/syncthing-1.23.5: XSS via shared folder names
Status: CONFIRMED
Alias: CVE-2022-46165
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Security
URL: https://github.com/syncthing/syncthin...
Whiteboard: B4 [glsa?]
Keywords:
Depends on: 908046
Blocks:
  Show dependency tree
 
Reported: 2023-06-08 04:11 UTC by John Helmert III
Modified: 2024-06-28 11:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-06-08 04:11:55 UTC
CVE-2022-46165:

Syncthing 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.
Comment 1 Larry the Git Cow gentoo-dev 2023-06-08 13:16:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e69d298d016e0b8c970785bca2e9b3652b11ee8

commit 0e69d298d016e0b8c970785bca2e9b3652b11ee8
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2023-06-08 13:15:14 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2023-06-08 13:16:51 +0000

    net-p2p/syncthing: drop 1.23.4-r1
    
    No versions vulnerable to CVE-2022-46165 left in the tree.
    
    Bug: https://bugs.gentoo.org/908034
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 net-p2p/syncthing/Manifest                   |   1 -
 net-p2p/syncthing/syncthing-1.23.4-r1.ebuild | 112 ---------------------------
 2 files changed, 113 deletions(-)
Comment 2 gentoo-setan 2024-06-25 18:24:28 UTC
Can this be closed if we no longer support this version?
Comment 3 Hans de Graaff gentoo-dev Security 2024-06-26 06:08:47 UTC
(In reply to gentoo-setan from comment #2)
> Can this be closed if we no longer support this version?

No, a decision on a GLSA still needs to be made.