Decentralized & P2P

Mastodon v4.6.13 releases security fix for LD-Signature verification bypass

Key Takeaway

Mastodon v4.6.13 addresses a critical security vulnerability involving LD-Signature verification bypass and fixes several privacy-related bugs.

Summary

The Mastodon project has released version 4.6.13, a maintenance update primarily focused on resolving a security vulnerability and several functional bugs. The most significant change is a fix for a Linked Data (LD) signature verification bypass, identified as GHSA-5j82-r5fw-73xp.

In addition to the security patch, the release addresses issues regarding data privacy and API behavior. These include fixes for the REST API incorrectly serving collections from suspended users and preventing Federated Activity Service Providers (FASPs) from being notified about non-public posts.

Security and privacy improvements in v4.6.13

  • Security Vulnerability: Addresses GHSA-5j82-r5fw-73xp, which involved a bypass in the LD-Signature verification process.
  • API Privacy Fix: Resolves an issue where the REST API would serve collections belonging to users who had been suspended.
  • Federation Privacy Fix: Corrects a bug where trend FASPs were receiving notifications for posts that were not set to public.
  • Profile Field Fix: Fixes a bug where remote profile fields were ignored if the attachment consisted of a single object.

Why it matters

This update is critical for Fediverse instance administrators to ensure the integrity of cryptographic signatures and the privacy of user content. Failure to patch the LD-Signature bypass could undermine the trust model of decentralized identity and content verification across the network.

What to do

  • Update Mastodon to version 4.6.13.
  • Back up your database before performing the upgrade.
  • If updating from 4.6.12, install dependencies with 'bundle install' and 'yarn install --immutable' and restart all Mastodon processes.
  • If upgrading from a version earlier than 4.6.12, read the upgrade notes for all skipped releases, especially the 4.6.0 release notes.

Original reference: github.com →