Key management errors in Synapse - CVE-2019-5885

 

Key management errors in Synapse - CVE-2019-5885

Published: May 17, 2023


Vulnerability identifier: #VU76259
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-5885
CWE-ID: CWE-320
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to impersonate application users.

The vulnerability exists due to usage of a weak and predictable secret key if the macaroon_secret_key authentication parameter is not set. A remote attacker can impersonate other application users.


Affected software

Synapse
Arch Linux
Ubuntu
Fedora
matrix-synapse (Ubuntu package)
matrix-synapse

How to mitigate CVE-2019-5885

Install updates from vendor's website.

Synapse - update to 0.34.0.1
matrix-synapse (Ubuntu package) - update to Ubuntu Pro
matrix-synapse - addressed in versions 0.34.0.1-1.fc29, 0.34.0.1-2.fc28
matrix-synapse - update to 0.34.1.1-1

External References

Related Security Bulletins