CVE-2022-39254

HIGH

matrix-nio <0.20 - Privilege Escalation

Title source: llm
STIX 2.1

Description

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.

References (2)

Core 2

Scores

CVSS v3 8.6
EPSS 0.0024
EPSS Percentile 47.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-287 CWE-322
Status published
Products (2)
matrix-nio_project/matrix-nio < 0.20
pypi/matrix-nio 0 - 0.20PyPI
Published Sep 29, 2022
Tracked Since Feb 18, 2026