Skip to content

SSRF due to missing validation of hostnames

Low
richvdh published GHSA-9jhm-8m8c-c3f4 Apr 15, 2021

Package

pip matrix-sydent (pip)

Affected versions

<= 2.2.0

Patched versions

2.3.0

Description

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.

References

n/a

For more information

If you have any questions or comments about this advisory, email us at security@matrix.org.

Severity

Low

CVE ID

CVE-2021-29431

Weaknesses