Skip to content
OpenAdvisories
High · 7.7 CVE-2024-42347 EUVD-2024-2571GHSA-f83w-wqhc-cfp4

URL preview setting for a room is controllable by the homeserver in matrix-react-sdk

Published Aug 6, 2024 · Updated Aug 8, 2024 · Assigned by GitHub_M

Description

matrix-react-sdk is a react-based SDK for inserting a Matrix chat/voip client into a web page. A malicious homeserver could manipulate a user's account data to cause the client to enable URL previews in end-to-end encrypted rooms, in which case any URLs in encrypted messages would be sent to the server. This was patched in matrix-react-sdk 3.105.0. Deployments that trust their homeservers, as well as closed federations of trusted servers, are not affected. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

VendorProductAffectedFixed
matrix-org matrix-react-sdk < 3.105.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed element-web +1 1.11.73-1.1 openSUSE-SU-2024:14273-1, openSUSE-SU-2024:14242-1

Affected packages

EcosystemPackageAffectedFixedRecord
npm matrix-react-sdk < 3.105.1 3.105.1 GHSA-f83w-wqhc-cfp4

Advisories 2

References