CVE-2021-29430: matrix-org sydent Improper Input Validation
Vulnerability summary
CVE-2021-29430 is a high (CVSS 7.5) Improper Input Validation vulnerability in matrix-org sydent. EPSS estimates a 1.83% chance of exploitation in the next 30 days, higher than 78.5% of scored vulnerabilities.
Timeline
- 15-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.83%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
0.00 pp
From 1.83% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe 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.
Affected systems
Matrix1 product
- sydent< 2.3.0
Matrix-org1 product
- sydent< 2.3.0
PyPI1 product
- matrix-sydent< f56eee315b6c44fdd9f6aa785cc2ec744a594428 | < 2.3.0
3 vendors · 3 products
References
10 links- github.com/matrix-org/sydent/security/advisories/GHSA-wmg4-8cp2-hpg9X Refsource CONFIRMWEBAdvisoryPatchThird Party Advisory
- github.com/matrix-org/sydent/commit/89071a1a754c69a50deac89e6bb74002d4cda19dX Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/matrix-org/sydent/commit/0523511d2fb40f2738f8a8549868f44b96e5dab7X Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/matrix-org/sydent/commit/f56eee315b6c44fdd9f6aa785cc2ec744a594428X Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/matrix-org/sydent/releases/tag/v2.3.0X Refsource MISCWEBRelease NotesThird Party Advisory
- github.com/matrix-org/sydentPACKAGE