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
Related
Published
2021-09-13T19:15:00Z
Modified
2024-10-15T14:08:25Z
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
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:20.04:LTS / node-matrix-js-sdk

Package

Name
node-matrix-js-sdk
Purl
pkg:deb/ubuntu/node-matrix-js-sdk?arch=src?distro=focal

Affected ranges

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

Affected versions

0.*

0.9.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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

Package

Name
node-matrix-js-sdk
Purl
pkg:deb/ubuntu/node-matrix-js-sdk?arch=src?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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / node-matrix-js-sdk

Package

Name
node-matrix-js-sdk
Purl
pkg:deb/ubuntu/node-matrix-js-sdk?arch=src?distro=oracular

Affected ranges

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

Affected versions

9.*

9.11.0+~cs9.9.16-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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

Package

Name
node-matrix-js-sdk
Purl
pkg:deb/ubuntu/node-matrix-js-sdk?arch=src?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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}