CVE-2019-18835 Improper Verification of Cryptographic Signature in matrix-synapse

Critical 9.8 Published Updated

Attackers can bypass signature checks on federation APIs, allowing unsigned or spoofed events to be accepted by the Matrix Synapse server.

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-18835?

CVE-2019-18835 is a critical vulnerability in n/a, published on 7 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Matrix Synapse before 1.5.0 mishandles signature checking on some federation APIs. Events sent over /send_join, /send_leave, and /invite may not be correctly signed, or may not come from the expected servers.

Weakness: CWE-345

Which versions are affected by CVE-2019-18835?

3 open source packages ship an affected version, including matrix-synapse. It affects 1 product.

PackageAffectedFixed in
matrix-synapse PyPIAll versions1.5.0
matrix-synapse PyPIAll versions1.5.0
matrix-synapse PyPIAll versions1.5.0

Products include Matrix Synapse.

How do I fix CVE-2019-18835?

Upgrade matrix-synapse to 1.5.0 or later.

Is CVE-2019-18835 being exploited?

There is no known exploitation of CVE-2019-18835 in the wild and no public exploit code.

Sources

Also known as GHSA-cppw-2mf8-qpm5, PYSEC-2019-186, UBUNTU-CVE-2019-18835.

Is CVE-2019-18835 in your software?

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

Check your SBOMs for free