Skip to content

Unlimited mentioned users in message serializer

High
Lillinator published GHSA-hf2v-r5xm-8p37 Jan 9, 2024

Package

Discourse (Discourse)

Affected versions

stable <= 3.1.3; beta <= 3.2.0.beta3; tests-passed <= 3.2.0.beta3

Patched versions

stable >= 3.1.4; beta >= 3.2.0.beta4; tests-passed >= 3.2.0.beta4

Description

Impact
Message serializer uses the full list of expanded chat mentions (@ALL and @here) which can lead to a very long array of users.

Patches
The issue is patched in the latest stable, beta and tests-passed version of Discourse.

Workarounds
The issue can be mitigate by using using watched words and preventing the usage of @ALL and @here. However, it's still recommended to upgrade as soon as possible.

Severity

High
8.6
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

CVE ID

CVE-2023-48297

Weaknesses

No CWEs