{"id":"GHSA-jjmc-4p83-pp26","summary":"Logic error in Matrix SDK for Android","details":"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 leads to a situation where identity verification is inadequate and thus a key-requesting device can be impersonated.","aliases":["CVE-2021-40824"],"modified":"2024-02-16T08:17:52.038768Z","published":"2022-05-24T19:14:16Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-08-09T13:17:07Z","nvd_published_at":"2021-09-13T19:15:00Z","cwe_ids":["CWE-327"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40824"},{"type":"WEB","url":"https://github.com/matrix-org/matrix-android-sdk2/releases/tag/v1.2.2"},{"type":"WEB","url":"https://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing"}],"affected":[{"package":{"name":"org.matrix.android:matrix-android-sdk2","ecosystem":"Maven","purl":"pkg:maven/org.matrix.android/matrix-android-sdk2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2"}]}],"versions":["0.0.2","1.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jjmc-4p83-pp26/GHSA-jjmc-4p83-pp26.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}