03:42:38
icon

gist.github.com/tesaguri/f3c73
I'm publishing a hotfix for Misskey v2024.3.1 (78ff90f) aimed at fixing the security issue disclosed by its forks Iceshrimp and Meisskey on 2024-04-29Z. See the README.md file of the Gist for details of the patch.

03:44:01
icon

I deeply regret to disclose the patch by myself before the upstream releases a fix, but I'm doing this because the upstream appears so busy that they have not responded to my report for more than 7 days after the submission.

I'm disclosing the patch in the hope that it will help to protect the users of Misskey rather than to risk them, in light of the recent disclosure of the issue by the fork (but make sure to review the disclaimer in the UNLICENSE file).

03:46:31
icon

2024年4月29日から30日にかけてIceshrimpおよびめいすきーで修正されたMisskeyのセキュリティ上の問題を本家においても修正することを目的としたパッチを公開します。公開の経緯およびパッチの詳細については引用元の投稿とそのリンク先のREADMEを参照してください。
QT: fedibird.com/@tesaguri/1123559
[参照]

Web site image
tesaguri 🦀🦝 (@tesaguri@fedibird.com)
このページは正しくありません - Mastodon
03:47:51
icon

日本時間の夜分遅くに申し訳ねえ〜。いや、本当にすみません……

03:55:53
2024-04-30 02:08:59 めいめいの投稿 mei23@misskey.m544.net
icon

このアカウントは、notestockで公開設定になっていません。

03:55:57
2024-04-30 02:47:17 めいめいの投稿 mei23@misskey.m544.net
icon

このアカウントは、notestockで公開設定になっていません。

05:35:23
2024-04-29 17:42:48 PeerTubeの投稿 peertube@framapiaf.org
icon

このアカウントは、notestockで公開設定になっていません。

12:51:18
2024-04-30 06:49:58 Firefishの投稿 firefish@info.firefish.dev
icon

このアカウントは、notestockで公開設定になっていません。

13:00:55
2024-04-30 12:43:56 めいめいの投稿 mei23@misskey.m544.net
icon

このアカウントは、notestockで公開設定になっていません。

13:01:12
icon

w3id.org/identity/v1、何故……(?)

13:02:54
icon

一応w3id.org/security/v1でも代替可能なはずなのに何故か今も使い回されているコンテクストIRI

14:11:45
icon

@mei23 当時の規格(<github.com/w3c-ccg/ld-signatur>)としては特に検証者側signature optionsのコンテクストを差し替えるような指示はなかったと思うので、差し替えるとしてもSecurity Vocabularyのコンテクストでも良さそうな気がしますね(そもそも厳密には署名者側から提供されたコンテクストでexpandしてから検証者側が理解するコンテクストでcompactするのが正しい気もしますが)

Web site image
ld-signatures/index.html at d0af56856684924156a94838f9482a27766bb2be ?? w3c-ccg/ld-signatures
17:04:17
2024-04-30 08:13:02 めいめいの投稿 mei23@misskey.m544.net
icon

このアカウントは、notestockで公開設定になっていません。

17:04:29
2024-04-30 09:12:52 めいめいの投稿 mei23@misskey.m544.net
icon

このアカウントは、notestockで公開設定になっていません。

17:23:14
icon

gist.github.com/tesaguri/f3c73
署名以外の処理もするようになったしもはや`LdSignatureService`という命名は相応しくないやろ〜と改名してしまったけど、冷静に考えると脆弱性の修正にそんなしょうもないリファクタリングを抱き合わせるなという話なのだよな……

17:23:48
icon

しかしリファクタリング相当の変更を差し戻してからもう一度QAもどきの作業をやり直す余裕もなかったので、はい

17:27:04
icon

QAもどき(変更箇所にテストがないので手動でサーバを動かして破綻していないか確認する。なお情報公開前なので公開でpushして適当にCIでコンテナイメージをビルドさせるわけにもいかない)

17:28:18
icon

github.com/MisskeyIO/misskey/c
まあつまり、こっちの方が正しいのだよなあ

Web site image
Hotfix GHSA-2vxv-pv3m-3wvj (MisskeyIO#624) · MisskeyIO/misskey@6b1b7fd
17:32:36
icon

怖い話をしても良いですか? いいよー。私、今までTypeScriptは1ミリ行も書いたことがないのですよね……(?)