CVE-2024-25623
NixOS vulnerability analysis and mitigation

Overview

Mastodon, a free open-source social network server based on ActivityPub, disclosed a high-severity vulnerability (CVE-2024-25623) affecting versions prior to 4.2.7, 4.1.15, 4.0.15, and 3.5.19. The vulnerability was discovered in February 2024 and involves insufficient Content-Type header checking when fetching remote statuses (GitHub Advisory).

Technical details

The vulnerability stems from Mastodon's failure to verify the Content-Type header value of Activity Streams media type when fetching remote statuses. The FetchRemoteStatusService did not validate that responses from remote servers had the correct Content-Type header value (either application/ld+json with a profile value of https://www.w3.org/ns/activitystreams, or application/activity+json). The vulnerability received a CVSS v3.1 score of 8.5 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N (NVD).

Impact

The vulnerability enables threat actors to impersonate accounts on remote servers by uploading crafted Activity Streams documents. This could lead to unauthorized access and potential misrepresentation of legitimate users on the platform (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Mastodon versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19. Users are advised to upgrade to these or newer versions to mitigate the risk (NVD).

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-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026

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