llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · matrix-js-sdk

GHSA-23CM-X6J7-6HQ3

matrix-js-sdk can be tricked into disclosing E2EE room keys to a participating homeserver

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -1 d de la divulgación
Exposición1.893 dDesde la divulgación, 14 sept 2021, 3:24 p. m.
Detección1.889 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 12.4.1
Monitoreo
Detectada
13 sept 21
14 sept 21
8 nov 23
17 nov 26
20 nov 26
13 sept 21
31 dic 22
17 abr 24
4 ago 25
20 nov 26
FechaFaseEventoDetalle
Remediación Parche 12.4.1 matrix-js-sdk · -1 d desde divulgación
Divulgación Publicada GHSA-23CM-X6J7-6HQ3 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Impact

A logic error in the room key sharing functionality of matrix-js-sdk before 12.4.1 allows a malicious Matrix homeserver† participating in an encrypted room to steal room encryption keys from affected Matrix clients participating in that room. This allows the homeserver to decrypt end-to-end encrypted messages sent by affected clients.

† Or anyone with access to the account of the original recipient of an encrypted message.

Known clients affected (via their use of vulnerable versions of matrix-js-sdk):

  • Element Web (1.8.2 and earlier)
  • Element Desktop (1.8.2 and earlier)
  • SchildiChat Web (1.7.32-sc1 and earlier)
  • SchildiChat Desktop (1.7.32-sc1 and earlier)
  • Cinny (1.2.0 and earlier)
Patch

This was fixed in https://github.com/matrix-org/matrix-js-sdk/commit/894c24880da0e1cc81818f51c0db80e3c9fb2be9.

### Workarounds
To prevent a homeserver from being able to steal the room keys, vulnerable clients can be taken offline or signed out. If signing out, care should be taken to either set up Secure Backup or export E2E room keys in order to preserve access to past messages.

Versiones

Rangos afectados

Afectada Corregida Última
matrix-js-sdk< 12.4.1
12.4.1
45.1.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmmatrix-js-sdk
Corregida 12.4.1 -1 d 45.1.0 no afectada
Versiones corregidas12.4.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-40823
Otrahttps://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-23cm-x6j7-6hq3
Otrahttps://github.com/matrix-org/matrix-js-sdk/commit/894c24880da0e1cc81818f51c0db80e3c9fb2be9
Otrahttps://github.com/matrix-org/matrix-js-sdk
Otrahttps://github.com/matrix-org/matrix-js-sdk/releases/tag/v12.4.1
Otrahttps://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.