GHSA-7h5v-85w9-pq6c Denial of service (via resource exhaustion) due to improper input validation in third-party identifier endpoint
Attackers can cause denial of service via resource exhaustion by sending unvalidated input to third-party identifier endpoints in Synapse.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-7h5v-85w9-pq6c?
GHSA-7h5v-85w9-pq6c is a denial of service vulnerability in matrix-synapse, published on 19 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Impact
Missing input validation of some parameters on the endpoints used to confirm third-party identifiers could cause excessive use of disk space and memory leading to resource exhaustion.
Patches
The issue is fixed by https://github.com/matrix-org/synapse/pull/9855.
Workarounds
There are no known workarounds.
References
n/a
For more information
If you have any questions or comments about this advisory, email us at [email protected].
Which versions are affected by GHSA-7h5v-85w9-pq6c?
2 open source packages ship an affected version, including matrix-synapse.
| Package | Affected | Fixed in |
|---|---|---|
matrix-synapse PyPI | All versions | 1.33.0 |
matrix-synapse PyPI | All versions | 1.33.0 |
How do I fix GHSA-7h5v-85w9-pq6c?
Upgrade matrix-synapse to 1.33.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-7h5v-85w9-pq6c being exploited?
There is no known exploitation of GHSA-7h5v-85w9-pq6c in the wild and no public exploit code.