QID 981379

QID 981379: Python (pip) Security Update for matrix-synapse (GHSA-x345-32rc-8h85)

Security update has been released for matrix-synapse to fix the vulnerability.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

"Push rules" can specify [conditions](https://matrix.org/docs/spec/client_server/r0.6.1#conditions) under which they will match, including `event_match`, which matches event content against a pattern including wildcards.

Certain patterns can cause very poor performance in the matching engine, leading to a denial-of-service when processing moderate length events.

  • CVSS V3 rated as Medium - 5.3 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    The issue is patched by https://github.com/matrix-org/synapse/commit/03318a766cac9f8b053db2214d9c332a977d226c.Workaround:
    A potential workaround might be to prevent users from making custom push rules, by blocking such requests at a reverse-proxy.
    Vendor References

    CVEs related to QID 981379

    Software Advisories
    Advisory ID Software Component Link
    GHSA-x345-32rc-8h85 matrix-synapse URL Logo github.com/advisories/GHSA-x345-32rc-8h85