Skip to content
OpenAdvisories
Medium · 4.8 CVE-2024-48872 EUVD-2024-3530GHSA-826h-p4c3-477pGO-2024-3338

Bypass of "Max failed attempts" restriction via race condition

Published Dec 16, 2024 · Updated Dec 16, 2024 · Assigned by Mattermost

Description

Mattermost versions 10.1.x <= 10.1.2, 10.0.x <= 10.0.2, 9.11.x <= 9.11.4, and 9.5.x <= 9.5.12 fail to prevent concurrently checking and updating the failed login attempts. which allows an attacker to bypass of "Max failed attempts" restriction and send a big number of login attempts before being blocked via simultaneously sending multiple login requests

Affected products

VendorProductAffectedFixed
Mattermost Mattermost 10.1.0 – ≤ 10.1.2, 10.0.0 – ≤ 10.0.2, 9.11.0 – ≤ 9.11.4, 9.5.0 – ≤ 9.5.12 10.2.0

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
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241218T202206-1.1 openSUSE-SU-2024:14603-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mattermost/mattermost-server >= 9.5.0+incompatible, < 9.5.13+incompatible · >= 9.11.0+incompatible, < 9.11.5+incompatible · >= 10.0.0+incompatible, < 10.0.3+incompatible · >= 10.1.0+incompatible, < 10.1.3+incompatible 9.5.13+incompatible, 9.11.5+incompatible, 10.0.3+incompatible, 10.1.3+incompatible GO-2024-3338
Go github.com/mattermost/mattermost-server/v5 all versions — GO-2024-3338
Go github.com/mattermost/mattermost-server/v6 all versions — GO-2024-3338
Go github.com/mattermost/mattermost/server/v8 >= 10.1.0, < 10.1.3 10.1.3 GHSA-826h-p4c3-477p
Go github.com/mattermost/mattermost/server/v8 >= 10.0.0, < 10.0.3 10.0.3 GHSA-826h-p4c3-477p
Go github.com/mattermost/mattermost/server/v8 >= 9.11.0, < 9.11.5 9.11.5 GHSA-826h-p4c3-477p
Go github.com/mattermost/mattermost/server/v8 >= 9.5.0, < 9.5.13 9.5.13 GHSA-826h-p4c3-477p
Go github.com/mattermost/mattermost/server/v8 all versions — GO-2024-3338

Advisories 1

References