CVE Vulnerabilities

CVE-2022-2166

Improper Restriction of Excessive Authentication Attempts

Published: Nov 16, 2022 | Modified: Nov 17, 2022
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

Improper Restriction of Excessive Authentication Attempts in GitHub repository mastodon/mastodon prior to 4.0.0.

Weakness

The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks.

Affected Software

Name Vendor Start Version End Version
Mastodon Joinmastodon 4.0.0 4.0.0
Mastodon Joinmastodon 4.0.0 4.0.0
Mastodon Joinmastodon 4.0.0 4.0.0
Mastodon Joinmastodon 4.0.0 4.0.0
Mastodon Joinmastodon * 3.5.5

Potential Mitigations

  • Common protection mechanisms include:

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.

  • Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator. [REF-45]

References