Lucene search

K
githubGitHub Advisory DatabaseGHSA-JRH7-MHHX-6H88
HistoryApr 13, 2021 - 3:12 p.m.

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

2021-04-1315:12:40
CWE-20
GitHub Advisory Database
github.com
17
denial of service
input validation
resource exhaustion
groups endpoints
disk space
memory
patches
workarounds
maximum lengths
client issues

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS

0.003

Percentile

68.8%

Impact

Missing input validation of some parameters on the groups (also known as communities) endpoints could cause excessive use of disk space and memory leading to resource exhaustion. Additionally clients may have issues rendering large fields.

Patches

This issue is fixed by #9321 and #9393.

Workarounds

The groups feature can be disabled (by setting enable_group_creation to False) to mitigate this issue. Note that it is disabled by default.

Other information

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.

Affected configurations

Vulners
Node
matrixsynapseRange<1.28.0
VendorProductVersionCPE
matrixsynapse*cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS3

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS

0.003

Percentile

68.8%