CVE-2022-46405
NixOS vulnerability analysis and mitigation

Overview

Mastodon through version 4.0.2 contains a denial of service vulnerability (CVE-2022-46405) that allows attackers to cause a large Sidekiq pull queue by creating bot accounts that follow attacker-controlled accounts on certain other servers associated with a wildcard DNS A record. This leads to uncontrolled recursion of attacker-generated messages. The vulnerability was disclosed on December 3, 2022 (NVD).

Technical details

The vulnerability exploits Mastodon's federation functionality by leveraging bot accounts to follow malicious servers using wildcard DNS records. When these bot accounts are deleted, they generate significant traffic that fills up the database and message queues. The attack is amplified when the malicious server is placed behind Cloudflare and returns 521 errors, causing messages to end up in retry queues. The vulnerability has been assigned a CVSS v3.1 score of 7.5 HIGH (NVD).

Impact

When successfully exploited, this vulnerability can cause denial of service conditions by overwhelming Mastodon instances with large Sidekiq pull queues. The attack can significantly impact server resources and potentially disrupt normal service operations through database flooding and queue saturation (NVD).

Mitigation and workarounds

Server administrators can mitigate this vulnerability by defederating from suspicious domains, particularly those using wildcard DNS, and implementing strict controls on new account creation. Additionally, monitoring and limiting Sidekiq queue sizes can help prevent resource exhaustion (HackMD).

Community reactions

The vulnerability was initially reported through the Fediverse, with system administrators sharing observations and mitigation strategies. Instance administrators have responded by implementing domain blocks and sharing information about suspicious patterns to help protect the wider Mastodon network (HackMD).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68120MEDIUM5.4
  • NixOSNixOS
  • go
NoYesDec 30, 2025
CVE-2025-69413MEDIUM5.3
  • NixOSNixOS
  • code.gitea.io/gitea
NoYesJan 01, 2026
CVE-2025-15412MEDIUM4.8
  • NixOSNixOS
  • wabt
NoNoJan 01, 2026
CVE-2025-15411MEDIUM4.8
  • NixOSNixOS
  • wabt
NoNoJan 01, 2026
CVE-2025-68932LOW2.9
  • NixOSNixOS
  • freshrss
NoYesDec 27, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management