Man-in-the-Middle (MitM) Affecting org.matrix.android:matrix-android-sdk2 package, versions [,1.2.2)


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.08% (32nd percentile)
Expand this section
NVD
5.9 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGMATRIXANDROID-1586044
  • published 17 Sep 2021
  • disclosed 17 Sep 2021
  • credit Unknown

How to fix?

Upgrade org.matrix.android:matrix-android-sdk2 to version 1.2.2 or higher.

Overview

org.matrix.android:matrix-android-sdk2 is a Matrix SDK for Android, extracted from the Element Android application.

Affected versions of this package are vulnerable to Man-in-the-Middle (MitM). A logic error in the room key sharing functionality 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 homeserver to decrypt end-to-end encrypted messages sent by affected clients.