Mastodon has insufficient access control to push notification settings
Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.5.5, 4.4.12, and 4.3.18, an insecure direct object reference in the web push subscription update endpoint lets any authenticated user update another user's push subscription by guessing or obtaining the numeric subscription id. This can be used to disrupt push notifications for other users and also leaks the web push subscription endpoint. Any user with a web push subscription is impacted, because another authenticated user can tamper with their push subscription settings if they can guess or obtain the subscription id. This allows an attacker to disrupt push notifications by changing the policy (whether to filter notifications from non-followers or non-followed users) and subscribed notification types of their victims. Additionally, the endpoint returns the subscription object, which includes the push notification endpoint for this subscription, but not its keypair. Mastodon versions v4.5.5, v4.4.12, v4.3.18 are patched.
Affected products
- ==>= 4.4.0, < 4.4.12
- ==< 4.3.18
- ==>= 4.5.0, < 4.5.5
Matching in nixpkgs
pkgs.mastodon
Self-hosted, globally interconnected microblogging software based on ActivityPub
pkgs.mastodon-bot
Bot to publish twitter, tumblr or rss posts to an mastodon account.
-
nixos-25.05 1.13.8-20220129172727
- nixos-25.05-small 1.13.8-20220129172727
- nixpkgs-25.05-darwin 1.13.8-20220129172727
pkgs.bitlbee-mastodon
Bitlbee plugin for Mastodon
pkgs.mastodon-archive
Utility for backing up your Mastodon content
pkgs.nodePackages.mastodon-bot
Bot to publish twitter, tumblr or rss posts to an mastodon account.
-
nixos-25.05 1.13.8-20220129172727
- nixos-25.05-small 1.13.8-20220129172727
- nixpkgs-25.05-darwin 1.13.8-20220129172727
pkgs.python312Packages.mastodon-py
Python wrapper for the Mastodon API
pkgs.python313Packages.mastodon-py
Python wrapper for the Mastodon API
pkgs.nodePackages_latest.mastodon-bot
Bot to publish twitter, tumblr or rss posts to an mastodon account.
-
nixos-25.05 1.13.8-20220129172727
- nixos-25.05-small 1.13.8-20220129172727
- nixpkgs-25.05-darwin 1.13.8-20220129172727
pkgs.home-assistant-component-tests.mastodon
Open source home automation that puts local control and privacy first
Package maintainers
-
@jpotier Martin Potier <jpo.contributes.to.nixos@marvid.fr>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@mweinelt Martin Weinelt <hexa@darmstadt.ccc.de>
-
@dotlambda Robert Schütz <rschuetz17@gmail.com>
-
@happy-river Happy River <happyriver93@runbox.com>
-
@Izorkin Yurii Izorkin <Izorkin@gmail.com>
-
@erictapen Kerstin Humm <kerstin@erictapen.name>
-
@ghuntley Geoffrey Huntley <ghuntley@ghuntley.com>
-
@ju1m Julien Moutinho <julm+nixpkgs@sourcephile.fr>