Upgrade Mastodon to 4.7.7 #717

Merged
raucao merged 3 commits from chore/upgrade_mastodon into master 2026-12-02 18:36:33 +00:00
Owner

Security update to Mastodon 4.7.7, fixing GHSA-5j82-r5fw-73xp: a critical LD-Signature verification bypass that let any server holding one signed activity impersonate a user on every Mastodon instance.

Deployed and verified on kosmos.social and the draco/fornax front proxies. The matching fork branch (kosmos/mastodon production-4.7) has been merged up to upstream v4.7.7 and pushed.

This sits on top of the 4.7.6 update already on master and adds two small fixes:

  • Bump ruby_build_version to v20261119, the first ruby-build release that defines Ruby 4.0.10. Master pairs ruby_version 4.0.10 with v20261023, which does not define 4.0.10 and would fail on a fresh build.
  • Strip client-supplied Forwarded headers (proxy_set_header Forwarded "";) in the Mastodon nginx snippet, mirroring upstream's 4.7.5 hardening.

It also bumps the chef-nodes submodule. No database migrations or external dependency changes are needed for 4.7.5 through 4.7.7.

Security update to Mastodon 4.7.7, fixing GHSA-5j82-r5fw-73xp: a critical LD-Signature verification bypass that let any server holding one signed activity impersonate a user on every Mastodon instance. Deployed and verified on kosmos.social and the draco/fornax front proxies. The matching fork branch (kosmos/mastodon `production-4.7`) has been merged up to upstream v4.7.7 and pushed. This sits on top of the 4.7.6 update already on master and adds two small fixes: - Bump `ruby_build_version` to `v20261119`, the first ruby-build release that defines Ruby 4.0.10. Master pairs `ruby_version` 4.0.10 with `v20261023`, which does not define 4.0.10 and would fail on a fresh build. - Strip client-supplied `Forwarded` headers (`proxy_set_header Forwarded "";`) in the Mastodon nginx snippet, mirroring upstream's 4.7.5 hardening. It also bumps the chef-nodes submodule. No database migrations or external dependency changes are needed for 4.7.5 through 4.7.7.
raucao added 3 commits 2026-12-02 18:35:19 +00:00
Bump the runtime Ruby to 4.0.10 (and the ruby-build definitions to
v20261119, the first release that defines it), matching upstream's
updated default Ruby for the 4.7.6 security release.

Strip client-supplied Forwarded headers in the Mastodon nginx config,
mirroring the upstream 4.7.5 hardening.
# Conflicts:
#	site-cookbooks/kosmos-mastodon/attributes/default.rb
raucao added the
service
mastodon
opssecuritykredits-1
labels 2026-12-02 18:35:55 +00:00
raucao merged commit 3fbaf32156 into master 2026-12-02 18:36:33 +00:00
raucao deleted branch chore/upgrade_mastodon 2026-12-02 18:36:34 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kosmos/chef#717