Skip to content
OpenAdvisories
High · 7.5 CVE-2020-26890 EUVD-2020-0107GHSA-4mp3-385r-v63fPYSEC-2020-237

Denial of service attack due to invalid JSON

Published Nov 24, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS matrix-synapse No fix yet —
Ubuntu Pro 18.04 LTS matrix-synapse No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 synapse 1.20.0-r0 —
Alpine v3.23 synapse 1.20.0-r0 —
Alpine v3.22 synapse 1.20.0-r0 —
Alpine v3.21 synapse 1.20.0-r0 —
Alpine v3.20 synapse 1.20.0-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 synapse 1.20.0-r0 —
Alpine v3.18 synapse 1.20.0-r0 —
Alpine v3.17 synapse 1.20.0-r0 —
Alpine v3.16 synapse 1.20.0-r0 —
Alpine v3.15 synapse 1.20.0-r0 —
Alpine v3.14 synapse 1.20.0-r0 —
Alpine v3.13 synapse 1.20.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI matrix-synapse < 1.20.0 1.20.0 GHSA-4mp3-385r-v63f

References