Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTlqaG0tOG04Yy1jM2Y0

SSRF in Sydent due to missing validation of hostnames

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 [email protected].

Permalink: https://github.com/advisories/GHSA-9jhm-8m8c-c3f4
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTlqaG0tOG04Yy1jM2Y0
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 3 years ago
Updated: over 1 year ago


CVSS Score: 7.7
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Identifiers: GHSA-9jhm-8m8c-c3f4, CVE-2021-29431
References: Repository: https://github.com/matrix-org/sydent
Blast Radius: 0.0

Affected Packages

pypi:matrix-sydent
Dependent packages: 0
Dependent repositories: 1
Downloads: 129 last month
Affected Version Ranges: < 2.3.0
Fixed in: 2.3.0
All affected versions: 2.0.0, 2.0.1, 2.1.0, 2.2.0
All unaffected versions: 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 2.6.0, 2.6.1