Auth bypass in Matrix-Nio Project
CVE-2022-39254
- CVSS v3
- 8.6 High
- Public exploits
- None known
- EPSS
- 0.007 · 53.3th percentile
- Published
- 2022-09-29
What to do
- Fixed in
0.20- Affected
- 2 affected products
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- None
C:N - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.007, 53.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Matrix-Nio Project
- Poljar Matrix-Nio — versions < 0.20
Weakness classification (CWE)
References
- github.com/poljar/matrix-nio/security/advisories/GHSA-w4pr-4vjg-hffh (Third Party Advisory)
- github.com/poljar/matrix-nio/commit/b1cbf234a831daa160673defd596e6450e9c29f0 (Patch, Third Party Advisory)