PYSEC-2021-135

    Dashboard / Vulnerabilities / PYSEC-2021-135

    PYSEC-2021-135

    Published: 11 May 2021Last Modified: 8 Nov 2023

    Summary:

    Details: Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse). Matrix is an ecosystem for open federated Instant Messaging and VoIP. In Synapse before version 1.33.2 "Push rules" can specify 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. The issue is patched in version 1.33.2. A potential workaround might be to prevent users from making custom push rules, by blocking such requests at a reverse-proxy.

    Affected packages

    Package

    Name: matrix-synapse

    Purl: pkg:pypi/matrix-synapse

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    0.33.5
    0.33.5.1
    0.33.6
    0.33.6rc1
    0.33.7
    0.33.7rc1
    0.33.7rc2
    0.33.8
    0.33.8rc2
    0.33.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2021-135 | CVE-DB