Live threats

All CVEs / Matrix

CVE-2021-29430Matrix Sydent

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Apr 15, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-400, CWE-770
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Sydent is a reference Matrix identity server. Sydent does not limit the size of requests it receives from HTTP clients. A malicious user could send an HTTP request with a very large body, leading to memory exhaustion and denial of service. Sydent also does not limit response size for requests it makes to remote Matrix homeservers. A malicious homeserver could return a very large response, again leading to memory exhaustion and denial of service. This affects any server which accepts registration requests from untrusted clients. This issue has been patched by releases 89071a1, 0523511, f56eee3. As a workaround request sizes can be limited in an HTTP reverse-proxy. There are no known workarounds for the problem with overlarge responses.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sydent.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI matrix-sydent < 2.3.0 2.3.0 pip install "matrix-sydent>=2.3.0"
PyPI matrix-sydent < 2.3.0 2.3.0 pip install "matrix-sydent>=2.3.0"

Per OSV / GitHub Advisories (GHSA-wmg4-8cp2-hpg9, PYSEC-2021-21). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
matrixsydent< 2.3.0

Official sources

References

Links published by the sources. Open them with care.