Vulnerability Details : CVE-2022-39254
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 category: BypassGain privilege
Products affected by CVE-2022-39254
- cpe:2.3:a:matrix-nio_project:matrix-nio:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-39254
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 15 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-39254
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
2.8
|
3.6
|
NIST | |
8.6
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
3.9
|
4.0
|
GitHub, Inc. |
CWE ids for CVE-2022-39254
-
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.Assigned by: security-advisories@github.com (Secondary)
-
The product performs a key exchange with an actor without verifying the identity of that actor.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2022-39254
-
https://github.com/poljar/matrix-nio/commit/b1cbf234a831daa160673defd596e6450e9c29f0
fix(crypto): Only accept forwarded room keys from our own trusted dev… · poljar/matrix-nio@b1cbf23 · GitHubPatch;Third Party Advisory
-
https://github.com/poljar/matrix-nio/security/advisories/GHSA-w4pr-4vjg-hffh
When receiving forwarded room keys, we don't check that the forwarder device matches the device we requested from · Advisory · poljar/matrix-nio · GitHubThird Party Advisory
Jump to