CVE-2021-29431: SSRF in Sydent due to missing validation of hostnames
Vulnerability summary
CVE-2021-29431 is a high (CVSS 7.7) Improper Input Validation vulnerability in matrix-org sydent. EPSS estimates a 1.19% chance of exploitation in the next 30 days, higher than 69% of scored vulnerabilities.
Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 15-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · PypiEcosystem advisory · calculated7.7HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
1.19%
Chance of exploitation in the next 30 days
Percentile
69%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.19% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-918Server-Side Request ForgeryThe web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Matrix1 product
- sydent< 2.3.0
Matrix-org1 product
- sydent< 2.3.0
PyPI1 product
- matrix-sydent< 8936925f561b0c352c2fa922d5097d7245aad00a | < 2.3.0
3 vendors · 3 products
References
11 links- github.com/matrix-org/sydent/releases/tag/v2.3.0X Refsource MISCWEBRelease NotesThird Party Advisory
- github.com/matrix-org/sydent/security/advisories/GHSA-9jhm-8m8c-c3f4X Refsource CONFIRMWEBAdvisoryPatchThird Party Advisory
- github.com/matrix-org/sydent/commit/9e573348d81df8191bbe8c266c01999c9d57cd5fX Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/matrix-org/sydent/commit/8936925f561b0c352c2fa922d5097d7245aad00aX Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/matrix-org/sydent/commit/3d531ed50d2fd41ac387f36d44d3fb2c62dd22d3X Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/matrix-org/sydent/commit/0f00412017f25619bc36c264b29ea96808bf310aX Refsource MISCWEBFIXPatchThird Party Advisory
- github.com/matrix-org/sydentPACKAGE