matrix-nio is a Python Matrix client library, designed according to sans I/O principles. Prior to version 0.20, when a users requests a room key from their devices, the software correctly remember the request. Once they receive a forwarded room key, they accept it without checking who the room key came from. This allows homeservers to try to insert room keys of questionable validity, potentially mounting an impersonation attack. Version 0.20 fixes the issue.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-6957 matrix-nio is a Python Matrix client library, designed according to sans I/O principles. Prior to version 0.20, when a users requests a room key from their devices, the software correctly remember the request. Once they receive a forwarded room key, they accept it without checking who the room key came from. This allows homeservers to try to insert room keys of questionable validity, potentially mounting an impersonation attack. Version 0.20 fixes the issue.
Github GHSA Github GHSA GHSA-w4pr-4vjg-hffh When matrix-nio receives forwarded room keys, the receiver doesn't check if it requested the key from the forwarder
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 23 Apr 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-23T16:53:59.840Z

Reserved: 2022-09-02T00:00:00.000Z

Link: CVE-2022-39254

cve-icon Vulnrichment

Updated: 2024-08-03T12:00:43.472Z

cve-icon NVD

Status : Modified

Published: 2022-09-29T15:15:10.513

Modified: 2024-11-21T07:17:53.233

Link: CVE-2022-39254

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.