Vulnerability · Published Nov 11, 2022 · Assigned by GitHub_M
CVE-2022-41904Element iOS is vulnerable due to missing decoration for events decrypted with untrusted Megolm sessions
Medium 6.4
In plain English
A medium-severity security flaw in element-ios from vector-im. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities).
Official description
Element iOS is an iOS Matrix client provided by Element. It is based on MatrixSDK. Prior to version 1.9.7, events encrypted using Megolm for which trust could not be established did not get decorated accordingly (with warning shields). Therefore a malicious homeserver could inject messages into the room without the user being alerted that the messages were not sent by a verified group member, even if the user has previously verified all group members. This issue has been patched in Element iOS 1.9.7. There are currently no known workarounds.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| vector-im | element-ios | < 1.9.7 |
Weakness: CWE-357 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N