{"id":"CVE-2021-29431","published":"2021-04-15T21:00:16Z","modified":"2024-08-03T22:02:51Z","title":"SSRF in Sydent due to missing validation of hostnames","vendor":"matrix-org","product":"sydent","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01194,"percentile":0.68786,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://pypi.org/project/matrix-sydent/","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/sydent/releases/tag/v2.3.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/sydent/security/advisories/GHSA-9jhm-8m8c-c3f4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/matrix-org/sydent/commit/9e573348d81df8191bbe8c266c01999c9d57cd5f","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/sydent/commit/8936925f561b0c352c2fa922d5097d7245aad00a","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/sydent/commit/3d531ed50d2fd41ac387f36d44d3fb2c62dd22d3","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/sydent/commit/0f00412017f25619bc36c264b29ea96808bf310a","tags":["x_refsource_MISC"]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":13.76},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"matrix-org","affectedVersions":[{"vendor":"matrix-org","product":"sydent","versions":["< 2.3.0"]}],"affected":[{"ecosystem":"PyPI","package":"matrix-sydent","vulnerableRanges":["<2.3.0"],"patched":["2.3.0"],"from":["GHSA-9jhm-8m8c-c3f4","PYSEC-2021-22"],"provenance":"source"}],"summary":{"text":"The Sydent reference Matrix identity server, from matrix-org, contains a server-side request forgery flaw caused by missing hostname validation and no IP address blacklisting. An attacker with network access and low-privilege authentication can induce Sydent to send HTTP GET requests to internal systems, though they cannot exfiltrate data or control request headers, and the attack may only support internal port enumeration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:25Z"},"euvd":{"id":"EUVD-2021-0120","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-matrix-org-sydent-cve-2019-11340","children":[{"from":"CVE-2021-29431","to":"CVE-2021-29433","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["sydent/util/stringutils.py"],"commits":["https://github.com/matrix-org/sydent/commit/9e573348d81df8191bbe8c266c01999c9d57cd5f","https://github.com/matrix-org/sydent/commit/8936925f561b0c352c2fa922d5097d7245aad00a","https://github.com/matrix-org/sydent/commit/3175fd358ebc2c310eab7a3dbf296ce2bd54c1da"],"basis":"rarely changed file"}]}]}}