CVE-2019-5885 Matrix Synapse Predictable Secret Key

High 7.5 Published Updated

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.

PackageAffectedFixed in
matrix-synapse PyPIAll versions0.34.0.1
matrix-synapse PyPIAll versions0.34.0.1
matrix-synapse PyPIAll versions0.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.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-jrqm-v8cv-53ww, PYSEC-2019-187, UBUNTU-CVE-2019-5885.

Is CVE-2019-5885 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free