p PatchFirst

PatchFirst · Latest vulnerabilities

matrix-synapse vulnerabilities · Page 2

Vulnerabilities published for matrix-synapse in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 45

  1. CVE-2022-41952

    Medium · CVSS 6.5EPSS 0.94%Fix available

    Uncontrolled Resource Consumption in Matrix Synapse

    Synapse before 1.52.0 with URL preview functionality enabled will attempt to generate URL previews for media stream URLs without properly limiting connection time. Connections will only be terminated after `max_spider_size` (default: 10M) bytes have been downloaded, which can in some cases lead to long-lived connections towards the streaming media server (for instance, Icecast). This can cause excessive traffic and connections toward such servers if their stream URL is, for example, posted to a large room with many Synapse instances with URL preview enabled. Version 1.52.0 implements a timeout mechanism which will terminate URL preview connec

    • Update to 1.53.0
    Published Updated
  2. CVE-2022-31152

    Medium · CVSS 6.4EPSS 1.2%Fix available

    Synapse vulnerable to denial of service (DoS) due to incorrect application of event authorization rules

    Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised

    • Update to 1.62.0
    • Update to 1.62.0rc1
    Published Updated
  3. CVE-2022-31052

    Medium · CVSS 6.5EPSS 1.66%Fix available

    URL previews can crash Synapse media repositories or Synapse monoliths

    Synapse is an open source home server implementation for the Matrix chat network. In versions prior to 1.61.1 URL previews of some web pages can exhaust the available stack space for the Synapse process due to unbounded recursion. This is sometimes recoverable and leads to an error for the request causing the problem, but in other cases the Synapse process may crash altogether. It is possible to exploit this maliciously, either by malicious users on the homeserver, or by remote users sending URLs that a local user's client may automatically request a URL preview for. Remote users are not able to exploit this directly, because the URL preview

    • Update to 1.61.1
    Published Updated
  4. CVE-2021-41281

    High · CVSS 7.5EPSS 1.58%Fix available

    Path traversal in Matrix Synapse

    Synapse is a package for Matrix homeservers written in Python 3/Twisted. Prior to version 1.47.1, Synapse instances with the media repository enabled can be tricked into downloading a file from a remote server into an arbitrary directory. No authentication is required for the affected endpoint. The last 2 directories and file name of the path are chosen randomly by Synapse and cannot be controlled by an attacker, which limits the impact. Homeservers with the media repository disabled are unaffected. Homeservers with a federation whitelist are also unaffected, since Synapse will check the remote hostname, including the trailing `../`s, against

    • Update to 1.47.1
    Published Updated
  5. CVE-2021-39164

    Low · CVSS 3.1EPSS 1.45%Fix available

    Improper authorisation of /members discloses room membership to non-members

    Matrix is an ecosystem for open federated Instant Messaging and Voice over IP. In versions 1.41.0 and prior, unauthorised users can access the membership (list of members, with their display names) of a room if they know the ID of the room. The vulnerability is limited to rooms with `shared` history visibility. Furthermore, the unauthorised user must be using an account on a vulnerable homeserver that is in the room. Server administrators should upgrade to 1.41.1 or later in order to receive the patch. One workaround is available. Administrators of servers that use a reverse proxy could, with potentially unacceptable loss of functionality, bl

    • Update to 1.41.1
    Published Updated
  6. CVE-2021-39163

    Low · CVSS 3.1EPSS 0.9%Fix available

    Adding a private/unlisted room to a community exposes room metadata in an unauthorised manner.

    Matrix is an ecosystem for open federated Instant Messaging and Voice over IP. In versions 1.41.0 and prior, unauthorised users can access the name, avatar, topic and number of members of a room if they know the ID of the room. This vulnerability is limited to homeservers where the vulnerable homeserver is in the room and untrusted users are permitted to create groups (communities). By default, only homeserver administrators can create groups. However, homeserver administrators can already access this information in the database or using the admin API. As a result, only homeservers where the configuration setting `enable_group_creation` has b

    • Update to 1.41.1
    Published Updated
  7. GHSA-7h5v-85w9-pq6c

    Not ratedFix available

    Denial of service (via resource exhaustion) due to improper input validation in third-party identifier endpoint

    ### Impact Missing input validation of some parameters on the endpoints used to confirm third-party identifiers could cause excessive use of disk space and memory leading to resource exhaustion. ### Patches The issue is fixed by https://github.com/matrix-org/synapse/pull/9855. ### Workarounds There are no known workarounds. ### References n/a ### For more information If you have any questions or comments about this advisory, email us at [email protected].

    • Update to 1.33.0
    Published Updated
  8. CVE-2021-29471

    Low · CVSS 3.7EPSS 1.65%Fix available

    Denial of service in Matrix Synapse

    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 rever

    • Update to 1.33.2
    Published Updated
  9. CVE-2021-21392

    Medium · CVSS 6.3EPSS 0.94%Fix available

    Open redirect via transitional IPv6 addresses on dual-stack networks

    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.28.0 requests to user provided domains were not restricted to external IP addresses when transitional IPv6 addresses were used. Outbound requests to federation, identity servers, when calculating the key validity for third-party invite events, sending push notifications, and generating URL previews are affected. This could cause Synapse to make requests to internal infrastructure on dual-stack networks. See referenced GitHub security advisory for details and

    • Update to 1.28.0
    • Update to 1.28.0rc1
    Published Updated
  10. CVE-2021-21393

    Medium · CVSS 5.3EPSS 1.6%Fix available

    Denial of service (via resource exhaustion) due to improper input validation on groups/communities endpoints

    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.28.0 Synapse is missing input validation of some parameters on the endpoints used to confirm third-party identifiers could cause excessive use of disk space and memory leading to resource exhaustion. Note that the groups feature is not part of the Matrix specification and the chosen maximum lengths are arbitrary. Not all clients might abide by them. Refer to referenced GitHub security advisory for additional details including workarounds.

    • Update to 1.28.0
    Published Updated
  11. CVE-2021-21394

    Medium · CVSS 5.3EPSS 1.54%Fix available

    Denial of service (via resource exhaustion) due to improper input validation on third-party identifier endpoints

    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.28.0 Synapse is missing input validation of some parameters on the endpoints used to confirm third-party identifiers could cause excessive use of disk space and memory leading to resource exhaustion. Note that the groups feature is not part of the Matrix specification and the chosen maximum lengths are arbitrary. Not all clients might abide by them. Refer to referenced GitHub security advisory for additional details including workarounds.

    • Update to 1.28.0
    Published Updated
  12. CVE-2021-21333

    Medium · CVSS 6.1EPSS 1.35%Fix available

    HTML injection in email and account expiry notifications

    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.27.0, the notification emails sent for notifications for missed messages or for an expiring account are subject to HTML injection. In the case of the notification for missed messages, this could allow an attacker to insert forged content into the email. The account expiry feature is not enabled by default and the HTML injection is not controllable by an attacker. This is fixed in version 1.27.0.

    • Update to 1.27.0
    Published Updated
  13. CVE-2021-21332

    Medium · CVSS 6.9EPSS 1.22%Fix available

    Cross-site scripting (XSS) vulnerability in the password reset endpoint

    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.27.0, the password reset endpoint served via Synapse was vulnerable to cross-site scripting (XSS) attacks. The impact depends on the configuration of the domain that Synapse is deployed on, but may allow access to cookies and other browser data, CSRF vulnerabilities, and access to other resources served on the same domain or parent domains. This is fixed in version 1.27.0.

    • Update to 1.27.0
    Published Updated
  14. CVE-2021-21273

    Low · CVSS 3.1EPSS 1.8%Fix available

    Open redirects on some federation and push requests

    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.25.0, requests to user provided domains were not restricted to external IP addresses when calculating the key validity for third-party invite events and sending push notifications. This could cause Synapse to make requests to internal infrastructure. The type of request was not controlled by the user, although limited modification of request bodies was possible. For the most thorough protection server administrators should remove the deprecated `federation_i

    • Update to 1.25.0
    Published Updated
  15. CVE-2021-21274

    Medium · CVSS 4.3EPSS 2.16%Fix available

    Denial of service attack via .well-known lookups

    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.25.0, a malicious homeserver could redirect requests to their .well-known file to a large file. This can lead to a denial of service attack where homeservers will consume significantly more resources when requesting the .well-known file of a malicious homeserver. This affects any server which accepts federation requests from untrusted servers. Issue is resolved in version 1.25.0. As a workaround the `federation_domain_whitelist` setting can be used to restri

    • Update to 1.25.0
    Published Updated
  16. CVE-2020-26257

    Medium · CVSS 6.5EPSS 2.39%Fix available

    Denial of service attack via incorrect parameters to federation APIs

    Matrix is an ecosystem for open federated Instant Messaging and VoIP. Synapse is a reference "homeserver" implementation of Matrix. A malicious or poorly-implemented homeserver can inject malformed events into a room by specifying a different room id in the path of a `/send_join`, `/send_leave`, `/invite` or `/exchange_third_party_invite` request. This can lead to a denial of service in which future events will not be correctly sent to other servers over federation. This affects any server which accepts federation requests from untrusted servers. The Matrix Synapse reference implementation before version 1.23.1 the implementation is vulnerabl

    • Update to 1.23.1
    Published Updated
  17. CVE-2020-26890

    High · CVSS 8.7EPSS 3%Fix available

    CVE-2020-26890

    Matrix Synapse before 1.20.0 erroneously permits non-standard NaN, Infinity, and -Infinity JSON values in fields of m.room.member events, allowing remote attackers to execute a denial of service attack against the federation and common Matrix clients. If such a malformed event is accepted into the room's state, the impact is long-lasting and is not fixed by an upgrade to a newer version, requiring the event to be manually redacted instead. Since events are replicated to servers of other room members, the impact is not constrained to the server of the event sender.

    • Update to 1.20.0
    Published Updated
  18. CVE-2020-26891

    Medium · CVSS 6.1EPSS 1.92%Fix available

    CVE-2020-26891

    AuthRestServlet in Matrix Synapse before 1.21.0 is vulnerable to XSS due to unsafe interpolation of the session GET parameter. This allows a remote attacker to execute an XSS attack on the domain Synapse is hosted on, by supplying the victim user with a malicious URL to the /_matrix/client/r0/auth/*/fallback/web or /_matrix/client/unstable/auth/*/fallback/web Synapse endpoints.

    • Update to 1.21.0
    Published Updated
  19. CVE-2019-11842

    High · CVSS 8.7EPSS 1.8%Fix available

    CVE-2019-11842

    An issue was discovered in Matrix Sydent before 1.0.3 and Synapse before 0.99.3.1. Random number generation is mishandled, which makes it easier for attackers to predict a Sydent authentication token or a Synapse random ID.

    • Update to 0.99.3.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →