{"schemaVersion":4,"id":"CVE-2021-29430","aliases":["GHSA-wmg4-8cp2-hpg9","PYSEC-2021-21"],"status":"published","duplicateOf":null,"title":"Denial of service attack via memory exhaustion","description":"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.","dates":{"published":"2021-04-15T20:35:19.000Z","modified":"2024-08-03T22:02:51.883Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01833,"percentile":0.79641,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.01833},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01833,"percentile":0.79641}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.01833,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.01833,"percentile":0.79641}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"matrix-org","product":"sydent","name":"sydent","label":"sydent","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.3.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.3.0","endInclusive":false}}],"versionsText":"< 2.3.0","eol":null,"hubHref":"/vendor/matrix-org/sydent"},{"vendor":"matrix","product":"sydent","name":"sydent","label":"sydent","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.3.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.3.0","endInclusive":false}}],"versionsText":"< 2.3.0","eol":null,"hubHref":"/vendor/matrix/sydent"},{"vendor":"PyPI","product":"matrix-sydent","name":"matrix-sydent","label":"matrix-sydent","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/matrix-sydent","purlType":"pypi","versions":[{"text":"< f56eee315b6c44fdd9f6aa785cc2ec744a594428","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"f56eee315b6c44fdd9f6aa785cc2ec744a594428","endInclusive":false}},{"text":"< 2.3.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.3.0","endInclusive":false}}],"versionsText":"< f56eee315b6c44fdd9f6aa785cc2ec744a594428 | < 2.3.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://pypi.org/project/matrix-sydent/","label":"pypi.org/project/matrix-sydent/","hostname":"pypi.org","tags":["X Refsource MISC","PACKAGE","Product","Third Party Advisory"]},{"url":"https://github.com/matrix-org/sydent/security/advisories/GHSA-wmg4-8cp2-hpg9","label":"github.com/matrix-org/sydent/security/advisories/GHSA-wmg4-8cp2-hpg9","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Patch","Third Party Advisory"]},{"url":"https://github.com/matrix-org/sydent/commit/89071a1a754c69a50deac89e6bb74002d4cda19d","label":"github.com/matrix-org/sydent/commit/89071a1a754c69a50deac89e6bb74002d4cda19d","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Third Party Advisory"]},{"url":"https://github.com/matrix-org/sydent/commit/0523511d2fb40f2738f8a8549868f44b96e5dab7","label":"github.com/matrix-org/sydent/commit/0523511d2fb40f2738f8a8549868f44b96e5dab7","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Third Party Advisory"]},{"url":"https://github.com/matrix-org/sydent/commit/f56eee315b6c44fdd9f6aa785cc2ec744a594428","label":"github.com/matrix-org/sydent/commit/f56eee315b6c44fdd9f6aa785cc2ec744a594428","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Third Party Advisory"]},{"url":"https://github.com/matrix-org/sydent/releases/tag/v2.3.0","label":"github.com/matrix-org/sydent/releases/tag/v2.3.0","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29430","label":"nvd.nist.gov/vuln/detail/CVE-2021-29430","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/matrix-org/sydent","label":"github.com/matrix-org/sydent","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/matrix-sydent/PYSEC-2021-21.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/matrix-sydent/PYSEC-2021-21.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/matrix-sydent","label":"pypi.org/project/matrix-sydent","hostname":"pypi.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-04-15T20:35:19.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T22:02:51.883Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 2.3.0 (CNA); fix release not confirmed","rank":[0,0,0,0,2,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.01833,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-08-03T22:02:51.883Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_pypi","date":"2024-08-03T22:02:51.883Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"type":"cvss","source":"osv_pypi","date":"2024-08-03T22:02:51.883Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-03T22:02:51.883Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-03T22:02:51.883Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","version":"2.0"}],"epss":{"value":0.01833,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:12:48.904Z","stale":false,"partial":false}}