High

Sydent vulnerable to denial of service attack via memory exhaustion

  • Disclosed: 15.04.2021
  • Updated: 11.10.2026 15:17

Impact

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 disk space 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.

Patches

Patched by 89071a1, 0523511, f56eee3.

Workarounds

Request sizes can be limited in an HTTP reverse-proxy.

There are no known workarounds for the problem with overlarge responses.

For more information

If you have any questions or comments about this advisory, email us at security@matrix.org.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) matrix-sydent < 2.3.0 2.3.0

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-20, CWE-400, CWE-770
Platform
Python (PyPI)
Package
matrix-sydent
Disclosed
15.04.2021
Updated
11.10.2026 15:17

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2021-21 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-wmg4-8cp2-hpg9 - CC BY 4.0

Vulnerability history: matrix-sydent

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
7
First → latest
05.2019 07.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 2
  • Medium 4

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 4
  4. 2022: 1
  5. 2023: 1
  6. 2024: 0
  7. 2025: 0
  8. 2026: 0
  1. Critical · 9.3 CVE-2023-38686 < 2.5.6 2.5.6
  2. Medium · 5.9 CVE-2019-11340 < 1.0.2 1.0.2
  3. Medium · 7.7 CVE-2021-29431 < 2.3.0 2.3.0
  4. Sydent vulnerable to denial of service attack via memory exhaustion this entry
    High · 7.5 CVE-2021-29430 < 2.3.0 2.3.0
  5. High · 7.5 CVE-2019-11842 < 1.0.3 1.0.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.