Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Matrix-Nio Project | Matrix-Nio | < 0.20 |
Related Weaknesses (CWE)
References
- https://github.com/poljar/matrix-nio/commit/b1cbf234a831daa160673defd596e6450e9cPatchThird Party Advisory
- https://github.com/poljar/matrix-nio/security/advisories/GHSA-w4pr-4vjg-hffhThird Party Advisory
- https://github.com/poljar/matrix-nio/commit/b1cbf234a831daa160673defd596e6450e9cPatchThird Party Advisory
- https://github.com/poljar/matrix-nio/security/advisories/GHSA-w4pr-4vjg-hffhThird Party Advisory
FAQ
What is CVE-2022-39254?
CVE-2022-39254 is a vulnerability with a CVSS score of 8.6 (HIGH). 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...
How severe is CVE-2022-39254?
CVE-2022-39254 has been rated HIGH with a CVSS base score of 8.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-39254?
Check the references section above for vendor advisories and patch information. Affected products include: Matrix-Nio Project Matrix-Nio.