CVE-2021-29433: Sydent DoS (via resource exhaustion) in matrix-sydent
Summary
CVE-2021-29433: Sydent DoS (via resource exhaustion) due to improper input validation. Affects matrix-sydent versions < 2.3.0. Fixed in 2.3.0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
matrix-sydent is a package available on PyPI that is used for confirming third-party identifiers in the Matrix protocol. It provides endpoints for validating and confirming identifiers, ensuring secure communication within the Matrix ecosystem. However, a vulnerability has been discovered in matrix-sydent that allows for a denial-of-service (DoS) attack through resource exhaustion.
Vulnerability Detail
The vulnerability in matrix-sydent arises from the lack of input validation on certain parameters used for confirming third-party identifiers. This oversight enables an attacker to exploit the endpoints, leading to excessive disk space and memory usage, ultimately resulting in resource exhaustion. The impact of this vulnerability can disrupt the normal functioning of the system, causing service degradation or unavailability.
How To Fix
Minimum fixed version
2.3.0
This is the first release that contains the fix.
pip install --upgrade "matrix-sydent==2.3.0"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to apply the recommended fix by updating the matrix-sydent package to the latest version.
Conclusion
The vulnerability in matrix-sydent can be exploited to cause resource exhaustion, leading to service disruption. It is crucial to update the matrix-sydent package to version 2.3.0 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for matrix-sydent →
FAQ
matrix-sydent is a package used for confirming third-party identifiers in the Matrix protocol. It provides endpoints for validating and confirming identifiers, ensuring secure communication within the Matrix ecosystem.
The vulnerability allows for a denial-of-service (DoS) attack through resource exhaustion. It can lead to excessive disk space and memory usage, resulting in service degradation or unavailability.
To fix this vulnerability, update the matrix-sydent package to version 2.3.0 or later. Run the command 'pip install --upgrade matrix-sydent' to update the package.
No, there is no known workaround for this vulnerability. It is essential to update the matrix-sydent package to the latest version.
For more information, you can refer to the advisory at https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-pw4v-gr34-2553/GHSA-pw4v-gr34-2553.json
References
Related vulnerabilities
Recent vulnerabilities recorded for matrix-sydent.