Advisory

GHSA-9jhm-8m8c-c3f4

Also known as: CVE-2021-29431, PYSEC-2021-22

Summary

SSRF in Sydent due to missing validation of hostnames

Details

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].

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-04-19 14:54 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

matrix-sydent

PyPI · All systems

Affected

  • introduced 0, fixed 2.3.0 (ecosystem)

Fixed versions

2.3.0

Fix

  • Fixed version 2.3.0
    pip install --upgrade matrix-sydent==2.3.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences