{"id":"CVE-2021-29430","published":"2021-04-15T20:35:19Z","modified":"2024-08-03T22:02:51Z","title":"Denial of service attack via memory exhaustion","vendor":"matrix-org","product":"sydent","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01833,"percentile":0.79433,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://pypi.org/project/matrix-sydent/","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/sydent/security/advisories/GHSA-wmg4-8cp2-hpg9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/matrix-org/sydent/commit/89071a1a754c69a50deac89e6bb74002d4cda19d","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/sydent/commit/0523511d2fb40f2738f8a8549868f44b96e5dab7","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/sydent/commit/f56eee315b6c44fdd9f6aa785cc2ec744a594428","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/sydent/releases/tag/v2.3.0","tags":["x_refsource_MISC"]}],"priority":{"score":21.1,"factors":[{"name":"EPSS percentile","points":15.89},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"sydent","versions":["< 2.3.0"]}],"affected":[{"ecosystem":"PyPI","package":"matrix-sydent","vulnerableRanges":["<2.3.0"],"patched":["2.3.0"],"from":["GHSA-wmg4-8cp2-hpg9","PYSEC-2021-21"],"provenance":"source"}],"summary":{"text":"Sydent, the reference Matrix identity server from matrix-org, does not limit the size of incoming HTTP request bodies or of responses it receives from remote Matrix homeservers, so memory can be exhausted. An unauthenticated remote attacker with network access can trigger it by sending an oversized request, and a malicious homeserver can trigger it by returning an oversized response, with no user interaction required; the issue is most relevant to servers that accept registration requests from untrusted clients.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:09:40Z"},"euvd":{"id":"EUVD-2021-0119","exploited":false,"provenance":"source"}}