Skip to content
Heist/ feed
Back to feed
Medium

Bypass of "Max failed attempts" restriction via race condition

Type: advisorySources: OSV

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-48872
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:40 UTC · Revision 1

Source evidence

Bypass of "Max failed attempts" restriction via race condition

core-osv · Original source

Published 16 Dec 2024, 08:01 UTC

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

osv:CVE-2024-48872
Complete source record
{
  "id": "2a09ddf3bef4af2226fc02ad152631f1a391be402917bfa2e10f594cf8870d6d",
  "url": "https://osv.dev/vulnerability/CVE-2024-48872",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Bypass of \"Max failed attempts\" restriction via race condition",
    "summary": "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",
    "evidence": "osv:CVE-2024-48872",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-48872",
      "aliases": [
        "CVE-2024-48872",
        "GHSA-826h-p4c3-477p",
        "GO-2024-3338"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mattermost/mattermost",
              "type": "GIT",
              "events": [
                {
                  "introduced": "99d819d25d0b16b3faed901b1fe5c41de7655e9c"
                },
                {
                  "fixed": "cdef2a6fb209019b8e2dd8b9851704a0d76e2a08"
                },
                {
                  "introduced": "0bc2ddd42375a75ab14e63f038165150d4f07659"
                },
                {
                  "fixed": "6fd35bcb8de33dec7a342ecd7fe6af8be56082d9"
                },
                {
                  "introduced": "2d83d21388f3111bffe4b1f63521b21d77ec2cef"
                },
                {
                  "fixed": "6d79df220a907f2ed294aadfab58a3836f54193c"
                },
                {
                  "introduced": "50f91e2453188bbd0153db0e98714022db022a5c"
                },
                {
                  "fixed": "a896b94e99f5d6df044b475e29651c9814f495bd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.5.0"
                      },
                      {
                        "fixed": "9.5.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.11.0"
                      },
                      {
                        "fixed": "9.11.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.0.0"
                      },
                      {
                        "fixed": "10.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.1.0"
                      },
                      {
                        "fixed": "10.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v9.11.5-rc1",
            "v9.5.13-rc1",
            "v10.1.3-rc1",
            "v9.5.12",
            "v9.11.4",
            "v10.0.2-rc2",
            "v10.0.2",
            "v10.0.2-rc1",
            "v9.5.12-rc1",
            "v9.11.4-rc1",
            "v10.1.2",
            "v10.1.2-rc1",
            "v9.5.11-rc2",
            "v9.5.11",
            "v10.0.1",
            "v9.11.3",
            "v9.11.3-rc2",
            "v10.1.1-rc1",
            "v10.1.1",
            "v9.11.3-rc1",
            "v9.5.11-rc1",
            "v10.0.1-rc1",
            "v10.1.0-rc3",
            "v10.1.0",
            "@mattermost/types@10.1.0",
            "@mattermost/client@10.1.0",
            "v9.11.2",
            "v9.5.10-rc3",
            "v9.5.10",
            "v9.11.2-rc2",
            "v9.5.10-rc2",
            "v9.11.2-rc1",
            "v9.5.10-rc1",
            "v10.0.0-rc4",
            "v10.0.0",
            "@mattermost/types@10.0.0",
            "@mattermost/client@10.0.0",
            "v9.5.9-rc1",
            "v9.5.9",
            "v9.11.1-rc1",
            "v9.11.1",
            "v9.11.0-rc3",
            "v9.11.0",
            "@mattermost/types@9.11.0",
            "@mattermost/client@9.11.0",
            "v9.5.8-rc2",
            "v9.5.8",
            "v9.5.8-rc1",
            "v9.5.7-rc3",
            "v9.5.7",
            "v9.5.7-rc2",
            "v9.5.7-rc1",
            "v9.5.6",
            "v9.5.6-rc2",
            "v9.5.6-rc1",
            "v9.5.5-rc1",
            "v9.5.5",
            "v9.5.4-rc2",
            "v9.5.4",
            "v9.5.4-rc1",
            "v9.5.3",
            "v9.5.3-rc3",
            "v9.5.3-rc2",
            "v9.5.3-rc1",
            "v9.5.2",
            "v9.5.1-rc1",
            "v9.5.1",
            "v9.5.0-rc3",
            "v9.5.0",
            "@mattermost/types@9.5.0",
            "@mattermost/client@9.5.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-48872.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.696812970Z",
      "provider": "osv",
      "references": [
        "https://mattermost.com/security-updates",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/48xxx/CVE-2024-48872.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-48872"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-362"
        ],
        "cna_assigner": "Mattermost",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.1.0"
                  },
                  {
                    "last_affected": "10.1.2"
                  },
                  {
                    "introduced": "10.0.0"
                  },
                  {
                    "last_affected": "10.0.2"
                  },
                  {
                    "introduced": "9.11.0"
                  },
                  {
                    "last_affected": "9.11.4"
                  },
                  {
                    "introduced": "9.5.0"
                  },
                  {
                    "last_affected": "9.5.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/48xxx/CVE-2024-48872.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-48872",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499767,
  "published_at": "2024-12-16T08:01:01.444+00:00"
}