# CVE-2021-29431: SSRF in Sydent due to missing validation of hostnames

- Priority: **Routine**
- Reason: Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-04-15 · Modified: 2024-08-03
- Aliases: GHSA-9jhm-8m8c-c3f4, PYSEC-2021-22
- Record: https://cvemate.com/vulnerability/CVE-2021-29431 · JSON: https://cvemate.com/vulnerability/CVE-2021-29431/json

## Description

```text
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.
```

## Signals

- CVSS: 7.7 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- EPSS: 1.194%, percentile 69.053%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- matrix-org sydent: \< 2.3.0
- matrix sydent: \< 2.3.0
- PyPI matrix-sydent (PyPI): \< 8936925f561b0c352c2fa922d5097d7245aad00a \| \< 2.3.0

## References

- <https://pypi.org/project/matrix-sydent/>
- <https://github.com/matrix-org/sydent/releases/tag/v2.3.0>
- <https://github.com/matrix-org/sydent/security/advisories/GHSA-9jhm-8m8c-c3f4>
- <https://github.com/matrix-org/sydent/commit/9e573348d81df8191bbe8c266c01999c9d57cd5f>
- <https://github.com/matrix-org/sydent/commit/8936925f561b0c352c2fa922d5097d7245aad00a>
- <https://github.com/matrix-org/sydent/commit/3d531ed50d2fd41ac387f36d44d3fb2c62dd22d3>
- <https://github.com/matrix-org/sydent/commit/0f00412017f25619bc36c264b29ea96808bf310a>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29431>
- <https://github.com/matrix-org/sydent>
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-sydent/PYSEC-2021-22.yaml>
- <https://pypi.org/project/matrix-sydent>

---

Data as of 2026-12-05T05:31:56.456Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
