Description
A logic error in the room key sharing functionality of Element Android before 1.2.2 and matrix-android-sdk2 (aka Matrix SDK for Android) before 1.2.2 allows a malicious Matrix homeserver present in an encrypted room to steal room encryption keys (via crafted Matrix protocol messages) that were originally sent by affected Matrix clients participating in that room. This allows the attacker to decrypt end-to-end encrypted messages sent by affected clients.
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.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | element-web | 1.8.4-r0 | — |
| Alpine v3.23 | element-web | 1.8.4-r0 | — |
| Alpine v3.22 | element-web | 1.8.4-r0 | — |
| Alpine v3.21 | element-web | 1.8.4-r0 | — |
| Alpine v3.20 | element-web | 1.8.4-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | element-web | 1.8.4-r0 | — |
| Alpine v3.18 | element-web | 1.8.4-r0 | — |
| Alpine v3.17 | riot-web | 1.8.4-r0 | — |
| Alpine v3.16 | riot-web | 1.8.4-r0 | — |
| Alpine v3.15 | riot-web | 1.8.4-r0 | — |
| Alpine v3.14 | riot-web | 1.8.4-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.matrix.android:matrix-android-sdk2 | < 1.2.2 | 1.2.2 | GHSA-jjmc-4p83-pp26 |