CVE-2025-27157

Mastodon's rate-limits are missing on `/auth/setup`

State
Published
Severity
5.3 Medium
Published
Feb 27, 2025
Updated
Feb 27, 2025
Reserved
Feb 19, 2025

Read the record on cve.org

Description

Mastodon is a self-hosted, federated microblogging platform. Starting in version 4.2.0 and prior to versions 4.2.16 and 4.3.4, the rate limits are missing on `/auth/setup`. Without those rate limits, an attacker can craft requests that will send an email to an arbitrary addresses. Versions 4.2.16 and 4.3.4 fix the issue.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LGitHub_M

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
mastodonmastodon
  • >= 4.2.0, < 4.2.16Affected
  • >= 4.3.0, < 4.3.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.