UBUNTU-CVE-2021-40823

Source
https://ubuntu.com/security/CVE-2021-40823
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40823.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-40823
Upstream
Published
2021-09-13T19:15:00Z
Modified
2025-07-14T07:15:29.992998Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A logic error in the room key sharing functionality of matrix-js-sdk (aka Matrix Javascript SDK) before 12.4.1 allows a malicious Matrix homeserver present in an encrypted room to steal room encryption keys (via crafted Matrix protocol messages) that were originally sent by affected Matrix clients participating in that room. This allows the homeserver to decrypt end-to-end encrypted messages sent by affected clients.

References

Affected packages

Ubuntu:Pro:20.04:LTS / node-matrix-js-sdk

Package

Name
node-matrix-js-sdk
Purl
pkg:deb/ubuntu/node-matrix-js-sdk@0.9.2-1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.2-1

Ubuntu:22.04:LTS / node-matrix-js-sdk

Package

Name
node-matrix-js-sdk
Purl
pkg:deb/ubuntu/node-matrix-js-sdk@9.11.0+~cs9.9.16-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

9.*

9.3.0+~cs9.9.16-2
9.11.0+~cs9.9.16-1

Ubuntu:24.04:LTS / node-matrix-js-sdk

Package

Name
node-matrix-js-sdk
Purl
pkg:deb/ubuntu/node-matrix-js-sdk@9.11.0+~cs9.9.16-2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

9.*

9.11.0+~cs9.9.16-2