CVE-2019-5885 Matrix Synapse Predictable Secret Key
Remote attackers can impersonate users if the macaroon_secret_key is not explicitly configured, due to predictable secret derivation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-5885?
CVE-2019-5885 is a high-severity vulnerability in Fedoraproject Fedora, published on 19 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Matrix Synapse before 0.34.0.1, when the macaroon_secret_key authentication parameter is not set, uses a predictable value to derive a secret key and other secrets which could allow remote attackers to impersonate users.
Weakness: CWE-330
Which versions are affected by CVE-2019-5885?
3 open source packages ship an affected version, including matrix-synapse. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
matrix-synapse PyPI | All versions | 0.34.0.1 |
matrix-synapse PyPI | All versions | 0.34.0.1 |
matrix-synapse PyPI | All versions | 0.34.0.1 |
Products include Fedoraproject Fedora, Matrix Synapse.
How do I fix CVE-2019-5885?
Upgrade matrix-synapse to 0.34.0.1 or later.
Is CVE-2019-5885 being exploited?
There is no known exploitation of CVE-2019-5885 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as GHSA-jrqm-v8cv-53ww, PYSEC-2019-187, UBUNTU-CVE-2019-5885.