7.7high
SSRF in Sydent due to missing validation of hostnames
- Severity
- 7.7high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.19% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-9jhm-8m8c-c3f4PYSEC-2021-22
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| matrix-org sydent | < 2.3.0 | CVE List |
| matrix-sydent (PyPI) | before 2.3.0, before 3d531ed50d2fd41ac387f36d44d3fb2c62dd22d3, before 0f00412017f25619bc36c264b29ea96808bf310a, before 9e573348d81df8191bbe8c266c01999c9d57cd5f, before 8936925f561b0c352c2fa922d5097d7245aad00a | GitHub Advisory Database, PyPA Advisory Database |
| matrix sydent | before 2.3.0 | NVD |
All scores
| GitHub_M | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 7.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| GitHub | medium 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 | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
Patches
Fixed in 9e57334, 8936925, 3d531ed, 0f00412
Workarounds
A potential workaround would be to use a firewall to ensure that Sydent cannot reach internal HTTP resources.
For more information
If you have any questions or comments about this advisory, email us at security@matrix.org.
NVD (es)
Sydent es un servidor de identidad Matrix de referencia. Sydent puede ser inducido a enviar peticiones HTTP GET hacia sistemas internos, debido a una falta de comprobación de parámetros o la lista negra de direcciones IP. No es posible exfiltrar datos o controlar los encabezados de peticiones, pero podría ser posible utilizar el ataque para llevar a cabo una enumeración de puertos internos. Este problema ha sido abordado en 9e57334, 8936925, 3d531ed, 0f00412. Una posible solución alternativa sería utilizar un firewall para garantizar que Sydent no pueda acceder a los recursos HTTP internos
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29431 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9jhm-8m8c-c3f4 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-29431 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-22 changed 2023-11-08 | CC-BY-4.0 |