CVE-2021-29431
MEDIUM 6.5CVSS 3.1SSRF in Sydent due to missing validation of hostnames
Sydent is a reference Matrix identity server. Sydent can be induced to send HTTP GET requests to internal systems, due to lack of parameter validation or IP address blacklisting. It is not possible to exfiltrate data or control request headers, but it might be possible to use the attack to perform an internal port enumeration. This issue has been addressed in in 9e57334, 8936925, 3d531ed, 0f00412. A potential workaround would be to use a firewall to ensure that Sydent cannot reach internal HTTP resources.
- Published
- 15 Apr 2021
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-918
- Also known as
- GHSA-9jhm-8m8c-c3f4PYSEC-2021-22
- Sources
- NVDJSONOSV GHSA-9jhm-8m8c-c3f4JSONOSV PYSEC-2021-22JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | matrix | sydentcpe:2.3:a:matrix:sydent:*:*:*:*:*:*:*:* |
< 2.3.0 | 2.3.0 |
| OSV | PyPI | matrix-sydent | < 2.3.0 | 2.3.0 |
References
- https://github.com/matrix-org/sydent/commit/0f00412017f25619bc36c264b29ea96808bf310a · Patch, Third Party Advisory, WEB, FIX
- https://github.com/matrix-org/sydent/commit/3d531ed50d2fd41ac387f36d44d3fb2c62dd22d3 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/matrix-org/sydent/commit/8936925f561b0c352c2fa922d5097d7245aad00a · Patch, Third Party Advisory, WEB, FIX
- https://github.com/matrix-org/sydent/commit/9e573348d81df8191bbe8c266c01999c9d57cd5f · Patch, Third Party Advisory, WEB, FIX
- https://github.com/matrix-org/sydent/releases/tag/v2.3.0 · Release Notes, Third Party Advisory, WEB
- https://github.com/matrix-org/sydent/security/advisories/GHSA-9jhm-8m8c-c3f4 · Patch, Third Party Advisory, WEB, ADVISORY
- https://pypi.org/project/matrix-sydent/ · Product, Third Party Advisory, WEB, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2021-29431 · ADVISORY
- https://github.com/matrix-org/sydent · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/matrix-sydent/PYSEC-2021-22.yaml · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 15 Apr 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Apr 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Apr 2021)