セキュリティ22(セキュリティかどうか不明2)
GetContext レスポンスからの Kubernetes コンテキスト認証情報の除外
影響対象GetContext エンドポイント(GET /api/system/kubernetes/contexts/{id})を使用する環境
変更前は、このエンドポイントから認証情報やクラスタ関連の値がHTTP経由で平文で公開されており、秘密鍵、証明書、ベアラートークンも含まれていました。変更後のレスポンスではこれらの認証情報を省き、コンテキスト識別子と公開エンドポイントのメタデータは引き続き返します。
原文を表示
- [Server] Redact sensitive auth credentials in GetContext HTTP response @Supersaiyan101 (#23797)
github.com/meshery/meshery/releases/tag/v1.0.80認証情報の削除時に所有者を検証
影響対象DefaultLocalProvider を介した認証情報の削除
追加の対応有効な認証済みユーザー
以前は認証情報 ID だけで削除対象を特定していたため、所有者を確認せずに別のユーザーの認証情報を削除できました。現在は、別のユーザーの認証情報を削除しようとした場合や、有効な本人確認情報なしで削除しようとした場合、見つからない旨を返し、認証情報はそのまま保持されます。
原文を表示
- [Server] Enforce user ownership validation in credential get and delete @Supersaiyan101 (#23661)
github.com/meshery/meshery/releases/tag/v1.0.80Meshery SSE ストリームのタイムアウト修正
影響対象Meshery の負荷テスト SSE ストリーム、/api/providers/stream、/api/system/adapter/events
2分以上の負荷テスト実行では最終結果フレームが失われる可能性があり、providers ストリームと adapter-events ストリームは2分ごとに切断されていました。各フレームに新たな30秒の書き込み期限が設定され、これらのストリームは2分を超えて継続できるようになりました。
原文を表示
- [Server] Stop the HTTP server timeouts from cutting off SSE streams and slow uploads @SandstromPL (#23634)
github.com/meshery/meshery/releases/tag/v1.0.80トークンファイルのアクセス権の厳格化
影響対象Windows の mesheryctl のトークンファイル、および Windows 以外のプラットフォームで作成されるトークンファイル
Windows では、既存のトークンファイルのアクセス権が広すぎる場合、現在のユーザーのみがアクセスできるよう制限されます。更新にはアクセス権を限定した一時ファイルが使われます。アクセス制限を確認できない場合、または更新に失敗した場合はエラーが報告され、既存のトークンは変更されません。Windows 以外のプラットフォームで新規作成されるトークンファイルのモードは 0600 です。
原文を表示
- fix: restrict Windows token file permissions @0xmaster7 (#23380)
github.com/meshery/meshery/releases/tag/v1.0.80mesheryctl design export の安全でない出力パスの修正
影響対象mesheryctl design export でエクスポートしたデザイン
名前に /、\、../ が含まれると、サブディレクトリが作成されたり、エクスポートが --output の外に書き込まれたりする可能性がありました。現在は危険な文字が _ に置き換えられ、ファイルは --output の直下に置かれます。my-design のような安全な名前は、引き続き同じファイル名が使われます。
原文を表示
- [mesheryctl] sanitize the design name in design export file paths @rakesh0x (#23557)
github.com/meshery/meshery/releases/tag/v1.0.80mesheryctl による未定義トークン割り当ての拒否
影響対象tokens: に登録されていない名前を使った mesheryctl system token set の割り当て
以前は、system token set <name> を実行すると、対応する tokens: エントリーがない名前も保存されていました。その後のリクエストで、そのコンテキストのサーバーにデフォルトトークンが送信される可能性がありました。現在はコマンドがエラーを返し、コンテキストは変更されません。
原文を表示
- [mesheryctl] Reject unknown tokens in token set and in-use tokens in token delete @Asheesh7298 (#23457)
- [mesheryctl] Reject unknown tokens in token set and in-use tokens in token delete @Asheesh7298 (#23457)
github.com/meshery/meshery/releases/tag/v1.0.80Windows のトークンファイルを現在のユーザーに制限
影響対象Windows の mesheryctl トークンファイル
従来の Chmod(0600) では既存の ACL や継承された ACL が削除されず、共有ディレクトリ内のトークンファイルが他のユーザーから読み取り可能なままになる場合がありました。現在は WriteTokenFile による書き込みと再書き込みで、現在のユーザーの SID に対する保護 ACL が適用されます。制限に失敗した場合、以前のトークンはそのまま保持されます。Unix での動作に変更はありません。
原文を表示
- [mesheryctl] Enforce owner-only token file on Windows via explicit DACL @Pastoray (#23507)
- [mesheryctl] Enforce owner-only token file on Windows via explicit DACL @Pastoray (#23507)
github.com/meshery/meshery/releases/tag/v1.0.80パフォーマンスプロファイルエンドポイントの nil プロバイダーとロガーによるパニックの修正
影響対象パフォーマンスプロファイルのエンドポイント
プロバイダーが未設定または型付き nil の場合や、ハンドラーのロガーを利用できない場合、エンドポイントがリクエストを処理するとサーバーがパニックすることがありました。プロバイダーが未設定の場合は ErrNilProviderCode を含む 500 応答を返すようになり、ガードされたロガー呼び出しではパニックが発生しなくなりました。
原文を表示
- [Server] Guard nil provider and nil logger in performance profile handlers @antcybersec (#23772)
github.com/meshery/meshery/releases/tag/v1.0.80Docker Extension プロキシの認証トークンのログ露出を修正
影響対象Docker Extension プロキシのリクエストログおよびバックエンドエラーログ(推定)
認証トークンがリクエストログとバックエンドエラーログに露出していました。クエリパラメーターが不正な場合も含め、これらのログでトークンがマスキングされるようになりました。また、削除処理では空のトークンやチャネルもログに記録されなくなりました。
原文を表示
- [Docker Extension] Don't hang token store and logout when no websocket client is connected @CyberRik (#23765)
github.com/meshery/meshery/releases/tag/v1.0.80MeshSync エンドポイントの nil ポインターパニック修正
プロバイダーやパーシスターが nil または未初期化の場合や、ロガーを利用できない場合、これらのハンドラーで nil ポインターによるパニックが発生する可能性がありました。プロバイダーまたはパーシスターがない場合は、500 と ErrNilProviderCode を返すようになりました。ロガーを利用できない場合もパニックは発生しません。入力形式が不正な場合やクエリパラメーターがない場合は、引き続き検証エラーが返されます。
原文を表示
- [Server] Guard nil provider, persister, and logger across MeshSync handlers @antcybersec (#23770)
github.com/meshery/meshery/releases/tag/v1.0.80スケジュールおよび組織ハンドラーでの nil プロバイダーとロガーによるパニックの修正
影響対象スケジュールエンドポイントと GetOrganizations
これらのハンドラーでは、型付き nil を含む nil プロバイダーに遭遇した場合や、初期化されていないロガーを呼び出した場合にパニックが発生することがありました。これらの処理経路でパニックは発生しなくなりました。一方、不正なスケジュールリクエストとスケジュール ID の欠落には、引き続き適切なエラーレスポンスが返されます。
原文を表示
- [Server] Guard nil provider and nil logger in schedule and organization handlers @antcybersec (#23768)
github.com/meshery/meshery/releases/tag/v1.0.80EvaluateRelationshipPolicy の nil 参照によるパニックの修正
ユーザーまたはプロバイダーが見つからない場合、h.SystemID が nil の場合、または h.evalTracker が初期化されていない場合に、ハンドラーで nil 参照によるパニックが発生する可能性がありました。現在は、ユーザーが見つからない場合は HTTP 401、プロバイダーが見つからない場合は HTTP 500 を返し、システム ID が nil の場合は uuid.Nil にフォールバックし、nil の評価トラッカーを初期化します。
原文を表示
- [Server] Guard unchecked nil dereferences, unbounded body reads, and detached goroutine panics in EvaluateRelationshipPolicy @Amansingh0807 (#23664)
github.com/meshery/meshery/releases/tag/v1.0.80EvaluateRelationshipPolicy のリクエスト本文サイズ制限の適用
影響対象EvaluateRelationshipPolicy へのリクエスト
以前は、4 MBを超える本文もサイズ上限なしで読み込まれていたため、メモリ枯渇のリスクがありました。また、空の本文はJSONのデコード前に特別に拒否されていませんでした。現在は、サイズ超過の本文にはHTTP 413を返し、空の本文にはHTTP 400を返します。
原文を表示
- [Server] Guard unchecked nil dereferences, unbounded body reads, and detached goroutine panics in EvaluateRelationshipPolicy @Amansingh0807 (#23664)
github.com/meshery/meshery/releases/tag/v1.0.80Credential GET の所有者確認の追加
影響対象DefaultLocalProvider 経由の credential GET リクエスト
以前は、GetUserCredentialByID が credential.UserId と認証済み呼び出し元の user.ID が一致するか確認せずに認証情報を返していたため、別のユーザーの認証情報が漏えいする可能性がありました。現在は、別のユーザーの認証情報や所有者のいない認証情報を要求した場合、または呼び出し元の ID を特定できない場合、404 を返します。
原文を表示
- [Server] Enforce user ownership validation in credential get and delete @Supersaiyan101 (#23661)
github.com/meshery/meshery/releases/tag/v1.0.80GetUsersKeys の nil プロバイダーによるパニックを修正
セキュリティかどうか不明影響対象GetUsersKeys で処理されるリクエスト
プロバイダーの初期化に失敗した場合や、起動中にリクエストがハンドラーへ届いた場合、nil の provider によって以前は nil ポインターのパニックが発生し、サーバーが停止する可能性がありました。現在はプロセスがクラッシュする代わりに、該当するリクエストに ErrNilProvider() を伴う HTTP 500 が返されます。
原文を表示
- fix(server): guard nil provider and validate org ID in GetUsersKeys @hemv-857 (#23645)
github.com/meshery/meshery/releases/tag/v1.0.80ValidationHandler の巨大リクエストによるクラッシュ修正
影響対象/api/registry/validate と /api/meshmodels/validate エンドポイント
従来は、サイズ超過リクエストが上限なく読み込まれ、OOMKilled によるクラッシュを引き起こす可能性がありました。現在は、4 MB を超えるリクエストに対して、上限なしで読み込む代わりに HTTP 413 を返します。
原文を表示
- [Server] Bound request body size and guard against DoS in ValidationHandler @Supersaiyan101 (#23589)
github.com/meshery/meshery/releases/tag/v1.0.80ValidationHandler の無効なリクエストに対する HTTP 400 応答
影響対象/api/registry/validate および /api/meshmodels/validate エンドポイント
以前はクライアントからの読み取りに失敗すると、HTTP 500 を返していました。検証前に、JSON 標準の空白文字をトリミングします。
原文を表示
- [Server] Bound request body size and guard against DoS in ValidationHandler @Supersaiyan101 (#23589)
github.com/meshery/meshery/releases/tag/v1.0.80DeleteConnection の UUID 検証と nil 参照の処理
影響対象DeleteConnection エンドポイント
この変更前は、不正な形式または nil の接続 UUID に対する境界での検証がなく、ユーザー、プロバイダー、またはシステム情報が欠けていると、参照時にパニックが発生する可能性がありました。現在は、不正な形式または nil の UUID に対して HTTP 400 を返します。プロバイダーが nil のリクエストには HTTP 500 を返し、ユーザーまたはシステム情報が欠けていても、これらのパニックは発生しなくなりました。
原文を表示
- [Server] Validate connection ID and guard nil dereference in DeleteConnection @Supersaiyan101 (#23404)
github.com/meshery/meshery/releases/tag/v1.0.80拡張機能の操作における nil プロバイダー処理の修正
影響対象拡張機能のインストール/削除ハンドラーとケイパビリティの永続化
プロバイダーがない状態でサーバーの起動が完了していないときに、認証されていないリクエストがインストールまたは削除ハンドラーに到達すると、チェックされていない参照解除によってパニックが発生し、サーバーが終了する可能性がありました。現在、該当する場合はハンドラーが HTTP 500 を返し、ケイパビリティの永続化ではプロバイダーが nil の呼び出しを安全にスキップします。
原文を表示
- [Server] Guard nil provider dereference and unbounded body reads in extension install and remove handlers @Amansingh0807 (#23395)
github.com/meshery/meshery/releases/tag/v1.0.80拡張機能ハンドラーの大容量ボディ拒否と nil provider によるパニックの防止
以前は、provider が初期化されていない状態でいずれかのハンドラーに到達すると、未認証アクセスやサーバーの起動処理が一部未完了の間も含め、未処理のパニックが発生してサーバーが停止していました。また、リクエストボディのサイズに上限がありませんでした。現在は、4 MBを超えるボディには HTTP 413 を返し、リクエストボディを閉じます。
原文を表示
- [Server] Guard nil provider dereference and unbounded body reads in extension install and remove handlers @Amansingh0807 (#23395)
github.com/meshery/meshery/releases/tag/v1.0.80mesheryctl の Windows における長いパスへのトークンファイル書き込み対応
影響対象Windowsでトークンファイルを長いパスに書き込む構成
原文を表示
- fix: restrict Windows token file permissions @0xmaster7 (#23380)
github.com/meshery/meshery/releases/tag/v1.0.80MeshSync の監視対象リソースへのアクセス復旧
セキュリティかどうか不明影響対象MeshSync がオペレーターモードで動作する Meshery Operator の Helm chart インストール
追加の対応meshsync.serviceAccount.dedicated の有効化
以前は、MeshSync が監視対象リソースに対して forbidden エラーを受け取り、検出に支障が生じていました。現在は読み取りアクセスが可能になり、CRD に対する範囲を限定しない list/watch アクセスも含まれます。デフォルトの共有 ServiceAccount を使用する場合、引き続きオペレーターの書き込み権限も持ちます。
原文を表示
- [Helm] Give MeshSync read-only RBAC, expose Broker service values, clean up CRs on uninstall @yi-nuo426 (#23259)
github.com/meshery/meshery/releases/tag/v1.0.80破壊的変更34
複製したフィルターに新しいメタデータ
影響対象Local プロバイダーでのフィルター複製(推定)
Local プロバイダーがフィルターを複製する際、以前は複製先が元のフィルターの created_at と catalog_data を引き継いでいました。現在は複製先独自の作成時刻が設定され、catalog_data は設定されません。一方、元のフィルターのファイル、リソース、場所は引き継がれます。
根拠“The copy +// keeps the source's file, resource and location, but gets its own creation +// time and no catalog data.” meshery/meshery/pull/23451 ↗ 原文を表示
- [Server] Clone designs and filters as fresh records @Asheesh7298 (#23451)
github.com/meshery/meshery/releases/tag/v1.0.80パターンリソース検索での削除済みレコードの除外と未検出の報告
影響対象IDまたは属性によるパターンリソースの検索
以前は、ID検索と属性検索でレコードが見つからない場合に「見つからない」として処理されず、ID検索では論理削除済みのレコードが含まれることがありました。その他のデータベースエラーは、読み取りエラーとして報告されるようになりました。
根拠“Pattern resource lookups now exclude deleted records and distinguish missing records from database errors.” meshery/meshery/pull/23667 ↗ 原文を表示
- [Server] Harden pattern resource persistence @0xmaster7 (#23667)
github.com/meshery/meshery/releases/tag/v1.0.80パターンリソースの削除で対象がない場合に not-found を返す動作
削除リクエストの対象 ID が存在しない、または論理削除済みで、更新対象の行がない場合に発生します。
根拠“Deleting a resource that is missing or already deleted now returns a not-found error.” meshery/meshery/pull/23667 ↗ 原文を表示
- [Server] Harden pattern resource persistence @0xmaster7 (#23667)
github.com/meshery/meshery/releases/tag/v1.0.80スナップショット読み込みエラー時の Kubernetes コンテキスト削除の停止
以前は、Kubernetes コンテキスト一覧のスナップショットを読み込めない場合でも、ハンドラーは HTTP 200 を返し、削除への遷移を開始していました。現在は削除を開始する前に HTTP 500 を返すため、呼び出し元は再試行できます。
根拠“A failed Kubernetes context snapshot previously logged an error but returned 200 and started the delete transition without a usable list. The handler now reports the snapshot error before starting deletion, allowing the caller to retry.” meshery/meshery/pull/23613 ↗ 原文を表示
- [Server] Report context snapshot failures before deletion @0xmaster7 (#23613)
github.com/meshery/meshery/releases/tag/v1.0.80コンテキスト削除時に明示的な HTTP 応答を返す変更
影響対象DELETE /api/system/kubernetes/contexts/{id} によるコンテキストの削除
これまでは、削除が成功してもステータスや本文は返されませんでした。マシンの初期化に失敗した場合、ハンドラーはエラーイベントをログに記録して永続化しましたが、応答は返しませんでした。現在は、成功時に HTTP 200、初期化失敗時に ErrFailToDelete を伴う HTTP 500 を返します。
原文を表示
- [Server] Write HTTP status 200 and error response in DeleteContext @nishant-devv (#23563)
github.com/meshery/meshery/releases/tag/v1.0.80SavePerformanceProfileHandler のリクエスト本文サイズ制限と検証
影響対象パフォーマンスプロファイルの保存リクエスト
以前は4 MBを超える本文が通知なく切り詰められることがありましたが、現在はHTTP 413が返されます。空、空白のみ、またはnullのペイロードにはHTTP 400が返されます。
根拠“Enforced defensive checks against empty, whitespace-only, and `"null"` payloads with `ErrRequestBody` (`HTTP 400 Bad Request`).” meshery/meshery/pull/23561 ↗ 原文を表示
- [Server] Guard invalid UUID status codes, missing 404 responses, and unchecked token extraction in performance profile handlers @Amansingh0807 (#23561)
github.com/meshery/meshery/releases/tag/v1.0.80存在しないパフォーマンスプロファイルの削除で HTTP 404 を返却
影響対象パフォーマンスプロファイルの削除
必要な対応エラーコードの再生成やスキーマ変更は不要
ローカルに一度も保存されていない ID を削除すると、以前はスタブのプロファイルとともに HTTP 200 が返され、成功したかのように見えることがありました。プロバイダーから存在しないと報告されたプロファイルについても、HTTP 404 が返されるようになりました。
原文を表示
- [Server] Return 404 when deleting a performance profile that does not exist @Shikhyy (#23544)
github.com/meshery/meshery/releases/tag/v1.0.80設定保存処理の入力検証と存在しないデータの削除処理
影響対象SessionPreferencePersister を通じた設定の書き込みと削除(推定)
このリリース以前は、データベースハンドラーが初期化されていない場合、userID が空の場合、または設定データが nil の場合に、書き込み処理でパニックが発生することがありました。また、存在しない設定を削除すると、何も通知せずに nil が返され、HTTP 200 の成功として扱われることがありました。これらの書き込み入力はデータベースへの問い合わせ前に検証されるようになり、存在しない設定の削除では ErrResultNotFound が返されます。
根拠“`DeleteFromPersister` now verifies `res.RowsAffected == 0` and returns `ErrResultNotFound` when the target preference does not exist instead of returning silent `nil` (200 OK).” meshery/meshery/pull/23536 ↗ 原文を表示
- [Server] Guard nil database handler, validate userID, and check rows affected in preference persister @piyxsh31 (#23536)
github.com/meshery/meshery/releases/tag/v1.0.80環境が存在しない場合の HTTP 404 処理
以前は、存在しない環境 ID を更新すると行が黙って作成されることがありました。また、存在しない ID に対する取得・更新・削除リクエストが 500 または 502 を返すことがありました。現在、これらのリクエストは 404 を返し、更新しても環境は存在しないままです。
原文を表示
- [Server] Honour Environment purpose property and align SystemDatabaseModels to v1beta3 @SachinyadavAug20 (#23429)
github.com/meshery/meshery/releases/tag/v1.0.80対応する未削除の認証情報がない場合の更新・削除への404応答
以前は、削除済みの認証情報を更新すると、変更がないまま 200 が返ることがありました。また、削除を繰り返すと 200 が返り、deleted_at が変更されていました。不明な ID では 500 が返ることもありました。現在は、削除を繰り返しても元の削除記録は変更されません。
根拠“On the local provider, `UpdateUserCredential` filtered its update on `deleted_at is NULL` but read the row back without it, so updating a deleted credential matched nothing and still returned the deleted row. The handler answered 200 and nothing changed. `DeleteUserCredential` matched by id only, so a second delete also answered 200 and moved `deleted_at`. An id that never existed came back as a bare `record not found`, which the handlers turned into a 500.” meshery/meshery/pull/23503 ↗ 原文を表示
- [Server] Return 404 when updating or deleting a missing credential @cortex36a (#23503)
github.com/meshery/meshery/releases/tag/v1.0.80接続アクションにおける不正な ID の拒否とデータ欠落への安全な対応
影響対象POST /api/integrations/connections/{connectionId}/actions
従来は、不正な形式または空の ID が uuid.FromStringOrNil で変換され、MeshSync アクションの実行中にプロバイダー、ユーザー、システムのデータがないとパニックが発生することがありました。現在は、不正な形式または nil の ID には HTTP 400 を返し、プロバイダーを利用できない場合は HTTP 500 を返します。ユーザーまたはシステムのデータがない場合も、デリファレンスによるパニックを起こさずにアクションを続行します。
根拠“Guards `provider == nil` before executing `setMeshsyncDeploymentModeAction` or `flushMeshsyncAction`, returning HTTP 500 with `"provider not initialized"` rather than panicking” meshery/meshery/pull/23417 ↗ 原文を表示
- [Server] Validate connection ID and guard nil dereferences in PerformConnectionAction @piyxsh31 (#23417)
github.com/meshery/meshery/releases/tag/v1.0.80mesheryctl perf result の設定済みコマンド出力ライターの使用
影響対象コマンド出力ライターを設定した mesheryctl perf result の構成(推定)
以前は、展開された結果とそのフォーマッターの出力は、設定済みのコマンド出力ライターが標準出力と異なる場合でも、標準出力に直接書き込まれていました。この変更により、出力先は設定済みのライターになります。
根拠“Routed expanded result outputs and the output formatter to `cmd.OutOrStdout()` instead of raw `fmt.Printf` / `os.Stdout`.” meshery/meshery/pull/23729 ↗ 原文を表示
- [mesheryctl] Guard nil TestStartTime, fix dead check, and standardize timestamp in perf result (#23727) @muskan-creates352 (#23729)
github.com/meshery/meshery/releases/tag/v1.0.80リモート設計のインポート名に URL パスのファイル名をデフォルトで使用
影響対象明示的な --name を指定しないリモート設計のインポート
必要な対応パスにファイル名がないリモート URL では明示的な --name が必要
生成される名前にはクエリ文字列とフラグメントは含まれませんが、リクエストには完全な URL が送信されます。
根拠“Derive the default name for remote imports from the URL path, excluding query and fragment while keeping the URL intact for the request.” meshery/meshery/pull/23703 ↗ 原文を表示
- [mesheryctl] Exclude URL query from imported design name @0xmaster7 (#23703)
github.com/meshery/meshery/releases/tag/v1.0.80ログ対象Podの選択で完全一致とクリーンアップ後の名前の一致を優先
影響対象指定したPod名による mesheryctl のログ対象Pod選択
以前は、複数のPod名に一致する名前を指定すると、意図したPodでなくても部分一致した最初のPodがエラーなく選択されることがありました。現在は、完全一致または名前をクリーンアップした後の一致によって、別のPodがエラーなく選択される場合があります。最優先の一致が複数ある場合や、Podが見つからない場合はエラーになります。
根拠“Prefer exact pod names and exact cleaned names over substring matches when selecting logs. Report ambiguous matches instead of silently selecting the first pod.” meshery/meshery/pull/23666 ↗ 原文を表示
- [mesheryctl] Resolve log pod names unambiguously @0xmaster7 (#23666)
github.com/meshery/meshery/releases/tag/v1.0.80フィルター名検索で候補が曖昧な場合は確認し、該当なしの場合はエラーを返す変更
影響対象mesheryctl filter view によるフィルター名検索
以前は、複数の候補が見つかると最初の結果が自動的に開き、候補が見つからない場合は「見つかりません」というメッセージをログに記録して成功を返していました。
原文を表示
- fix(mesheryctl): select filters by full name @0xmaster7 (#23580)
github.com/meshery/meshery/releases/tag/v1.0.80ページをまたいだフィルター名検索結果の取得
影響対象mesheryctl filter view によるフィルター名検索
以前は、API の既定サイズの結果ページから検索対象を選んでおり、一致するものがない検索もエラーにならず成功扱いになることがありました。現在は、複数のフィルターが一致すると確認を促し、一致するものがない場合は型付きの未検出エラーを返します。また、結果を取得できない場合や不完全な場合はエラーを報告します。
根拠“Searches can retrieve results across multiple pages, and report errors when results cannot be fetched or are incomplete.” meshery/meshery/pull/23580 ↗ 原文を表示
- fix(mesheryctl): select filters by full name @0xmaster7 (#23580)
github.com/meshery/meshery/releases/tag/v1.0.80utils.MakeRequest によるメソッド変更リダイレクトの拒否
影響対象utils.MakeRequest 経由で行われる mesheryctl のリクエスト
DELETE、POST、PUT のリクエストが 301、302、303 を受け取ると、クライアントが本文なしの GET として再送することがありました。その結果、転送先の GET ルートが実行され、元の操作が行われていないのにコマンドが成功を報告する可能性がありました。これらのリダイレクトは拒否されるようになりました。ほとんどの場合は ErrRedirectChangesMethod を返し、拒否された 302 リダイレクトは ErrInvalidToken を返します。メソッドを維持するリダイレクトは引き続きたどります。
根拠“`utils.MakeRequest` used a default `http.Client{}`. net/http answers a 301, 302 or 303 to a DELETE, POST or PUT by re-sending the request as a GET without its body. When the new path also has a GET route, the GET runs and the command reports success.” meshery/meshery/pull/23405 ↗ 原文を表示
- [mesheryctl] Report a method-changing redirect instead of following it @Asheesh7298 (#23405)
- [mesheryctl] Report a method-changing redirect instead of following it @Asheesh7298 (#23405)
github.com/meshery/meshery/releases/tag/v1.0.80コンテキストから参照されているトークンの削除拒否
影響対象コンテキストから参照されているトークンを含む meshconfig 構成
該当するトークンに対して system token delete <name> を実行すると、影響を受けるコンテキスト名がソート順で表示され、削除は拒否されます。以前はトークンのエントリーだけが削除され、コンテキストは存在しないトークンを参照したままでした。未使用のトークンは、これまでどおり削除できます。
根拠“`DeleteTokenFromConfig` refuses to delete a token that a context uses and lists those contexts in sorted order: `token "prod" is still used by context(s) prod, staging; set another token on them first with ...`.” meshery/meshery/pull/23457 ↗ 原文を表示
- [mesheryctl] Reject unknown tokens in token set and in-use tokens in token delete @Asheesh7298 (#23457)
github.com/meshery/meshery/releases/tag/v1.0.80エクスポート形式を反映するファイル名
影響対象mesheryctl design export を使用する環境、特に oci または original のエクスポート(推定)
これまでは、OCI エクスポートに拡張子がなく、YAML を含む original の Kubernetes マニフェストと Docker Compose のエクスポートには .tar.gz が付いていました。また、helm など未知の --type を指定すると、現在のデザインが YAML として暗黙にエクスポートされていました。今後は、oci エクスポートには .tar、original の Helm チャートエクスポートには .tar.gz、その他の original エクスポートには .yaml が使われます。current エクスポートは引き続き .yaml です。
根拠“The Helm and `current` filenames don't change.” meshery/meshery/pull/23447 ↗ 原文を表示
- [mesheryctl] Name design export files by type and reject unknown --type @mayank609 (#23447)
- [mesheryctl] Name design export files by type and reject unknown --type @mayank609 (#23447)
github.com/meshery/meshery/releases/tag/v1.0.80デザインのエクスポートで無効な --type 値を拒否
影響対象mesheryctl design export(推定)
以前は helm のような誤った値を指定すると、現在のデザインが YAML として警告なくエクスポートされていました。現在は、サポートされていない値に対して ErrInvalidArgument を返します。
根拠“`RunE` checks `--type` against `current`, `original`, `oci` before any network call and returns `ErrInvalidArgument` naming the valid values.” meshery/meshery/pull/23447 ↗ 原文を表示
- [mesheryctl] Name design export files by type and reject unknown --type @mayank609 (#23447)
github.com/meshery/meshery/releases/tag/v1.0.80view --save の保存ファイル名の統一
影響対象コンポーネント、接続、環境、フィルター、モデル、リレーションシップ、ワークスペースに対する view --save
これまでは、保存ファイル名がそのまま使われるか、一部だけがサニタイズされるかのどちらかで、リソースの種類によって処理が一貫していませんでした。今後は、空白とファイルシステムで問題となる文字がアンダースコアに置き換えられ、先頭と末尾の空白が削除されます。使用できない名前は、利用可能な ID、または一部の項目タイプでは unknown に置き換えられます。
根拠“When a name cannot produce a usable filename, the filename falls back to an item ID where available. For several item types, `unknown` is used if neither the name nor ID produces a usable filename.” meshery/meshery/pull/23436 ↗ 原文を表示
- fix(mesheryctl): sanitize filesystem-unsafe characters in view --save filenames @ThakurUjjwal1706 (#23436)
github.com/meshery/meshery/releases/tag/v1.0.80Notification Center におけるシリアライズできない UI ペイロード値のフィルタリング
影響対象openNotificationCenter を使用する Notification Center のインテグレーション(推定)
以前は、アイコンコンポーネントを含む受信時のペイロードがそのまま events スライスに保存され、Redux の警告が発生していました。Date、Map、Set、クラスインスタンス、循環参照オブジェクトなど、シリアライズできないフィールドは破棄されるようになりました。アイコンは名前で保存され、描画時に解決されます。
根拠“This screens the payload in openNotificationCenter before it reaches state. Only serializable values are kept, a Date, Map, Set, class instance or circular object gets dropped. The icon is stored as a name now, and the NotificationCenter resolves it to the component when rendering.” meshery/meshery/pull/23082 ↗ 原文を表示
- [UI] Keep non-serializable values out of Notification Center state @krishbuilds01 (#23082)
github.com/meshery/meshery/releases/tag/v1.0.80Broker と MeshSync リソースの既定で有効な削除前クリーンアップ
影響対象Meshery Operator Helm chart のインストール環境のうち、リリースが所有する Broker または MeshSync のカスタムリソースがある環境
以前は、helm uninstall でオペレーターとこれらのリソースが一度に削除され、オペレーターだけが解除できるファイナライザーによって、リソースが Terminating のまま残っていました。フックは、オペレーターの実行中にこれらのリソースを削除し、90 秒待ってから、必要に応じてファイナライザーを削除するようになりました。customResourceCleanup.enabled でクリーンアップを無効にできます。
根拠“**Symptom.** `helm uninstall` deletes the operator and the Broker/MeshSync resources in one pass. The resources then hang `Terminating` on `broker.meshery.io/finalizer` and `meshsync.meshery.io/finalizer`, which only the operator removes.” meshery/meshery/pull/23259 ↗ 原文を表示
- [Helm] Give MeshSync read-only RBAC, expose Broker service values, clean up CRs on uninstall @yi-nuo426 (#23259)
github.com/meshery/meshery/releases/tag/v1.0.80ページをまたいだ GetID のデザイン・フィルター検索
影響対象10,000件を超えるデザインまたはフィルターがあるサーバーに対する、短いプレフィックスを使った mesheryctl の検索
最初のページ以降にある一致が見つからず、ValidId が曖昧なプレフィックスを一意と判断して意図しない削除につながるおそれや、一意なプレフィックスを解決できない問題がありました。GetID はページをまたいで ID を収集し、重複を除外するようになりました。また、totalCount と total_count の両方を読み取ります。50ページ以内に全結果を確認できない場合は、検索が不完全であることを示すエラー、またはページ数上限エラーを返します。
根拠“When resolving short ID prefixes, `GetID` previously requested a single batch of `pagesize=10000` without inspecting total item counts. On servers with more than 10,000 designs or filters, matches past the first page were missed, causing `ValidId` to falsely conclude a prefix was unique (risking unintended deletions in `design delete`) or fail to resolve a unique prefix on subsequent pages.” meshery/meshery/pull/23206 ↗ 原文を表示
- [mesheryctl] Paginate ID prefix lookup across multiple pages in GetID @bodapatisaikrishna (#23206)
- [mesheryctl] Paginate ID prefix lookup across multiple pages in GetID @bodapatisaikrishna (#23206)
github.com/meshery/meshery/releases/tag/v1.0.80Go Extensions フィールドの Account への改名
影響対象Extensions モデルフィールドを使用する Go コード(推定)
フィールド名は以前の Acccount から Account に変更されました。JSON タグ json:"account,omitempty" は変更されておらず、ワイヤー互換性と API 互換性が維持されます。
根拠“The JSON struct tag remains `json:"account,omitempty"`, ensuring 100% wire and API backward-compatibility.” meshery/meshery/pull/23795 ↗ 原文を表示
- [Server] Fix misspelled 'Acccount' field in Extensions model @Amansingh0807 (#23795)
github.com/meshery/meshery/releases/tag/v1.0.80選択したコンテキストに基づく Meshery プロバイダーの検証
影響対象保存された current-context 以外のコンテキストを指定する --context
以前は、選択したコンテキストが提供するプロバイダーが拒否される一方、現在のコンテキストだけが提供するプロバイダーが受け入れられ、選択したコンテキストの再デプロイに使用されることがありました。無効なコンテキスト名を指定すると、リクエストを送信する前に ErrSettingTemporaryContext が返されるようになりました。
根拠“`system provider switch --context X` redeploys `X`, but `validateProvider` asked the current context's Meshery server for its providers, because `GetProviderInfo` uses `mctlCfg.GetBaseMesheryURL()`, which follows `CurrentContext`. A provider `X` offers could be rejected, and one only the current context's server offers was accepted and then used to redeploy `X`.” meshery/meshery/pull/23786 ↗ 原文を表示
- [mesheryctl] Validate the provider on the --context server in provider switch @Eternity0207 (#23786)
github.com/meshery/meshery/releases/tag/v1.0.80空の名前を持つフィルターの複製を拒否
既存のフィルターを空の名前で複製するリクエストには、不正なリクエスト応答が返されます。
原文を表示
- [Server] Return 404 for missing filters and validate path UUIDs in filter handlers @antcybersec (#23726)
github.com/meshery/meshery/releases/tag/v1.0.80不正なワークスペースおよび環境のパス ID に対する HTTP 400 の返却
影響対象パス ID を受け取るワークスペースおよび環境のルート
以前は、不正な ID が Local プロバイダーに渡され、18 個のルートでは HTTP 502、ID が nil UUID に変換される 3 個のルートでは HTTP 404 が返されていました。現在は、プロバイダーを呼び出す前に models.ErrInvalidUUID を返し、21 個すべてのルートで HTTP 400 になります。形式が正しく、存在しない ID への影響はありません。
根拠“A malformed ID in the path of a workspace or environment route used to reach the provider. With the Local provider that came back as `502 Bad Gateway` on 18 routes and as `404` on 3, where the ID was quietly turned into the nil UUID. All 21 routes now answer `400` with the existing `models.ErrInvalidUUID` (`meshery-server-1432`) before the provider is called.” meshery/meshery/pull/23637 ↗ 原文を表示
- [Server] Return 400 for a malformed ID on workspace and environment routes @himanishpuri (#23637)
github.com/meshery/meshery/releases/tag/v1.0.80スケジュールハンドラーによる空の入力の拒否
DeleteScheduleHandler または GetScheduleHandler に空の scheduleID を指定した呼び出しは、プロバイダーへの問い合わせ前に HTTP 400 を返すようになりました。SaveScheduleHandler に送信されたデコード後の本文が nil または空の場合も、プロバイダーの処理が進む前に HTTP 400 を返します。
根拠“Added validation in `DeleteScheduleHandler` and `GetScheduleHandler` to ensure `scheduleID` is not empty before querying the provider, returning `http.StatusBadRequest` (400) if empty.” meshery/meshery/pull/23540 ↗ 原文を表示
- [Server] Guard nil provider and validate schedule ID across schedule handlers @piyxsh31 (#23540)
github.com/meshery/meshery/releases/tag/v1.0.80プリファレンス永続化機構のエラーに MeshKit のコンストラクターを使用
影響対象プリファレンス永続化機構を使用する構成(推定)
読み取り、保存、作成の失敗は、それぞれ ErrDBRead、ErrDBPut、ErrDBCreate を使って返されます。
根拠“Preference read, save, and delete operations now return more specific errors when they fail.” meshery/meshery/pull/23536 ↗ 原文を表示
- [Server] Guard nil database handler, validate userID, and check rows affected in preference persister @piyxsh31 (#23536)
github.com/meshery/meshery/releases/tag/v1.0.80設定ファイルのクローズエラーの報告
影響対象mesheryctl による設定ファイルの作成またはバックアップ
これらの処理経路では、これまでクローズエラーを無視していました。現在は、CreateConfigFile がクローズエラーを返し、バックアップ処理ではそのエラーを Log.Fatal に渡します。
原文を表示
- [mesheryctl] Fix HTTP response body and file descriptor leaks in utils @muskan-creates352 (#22645)
github.com/meshery/meshery/releases/tag/v1.0.80アダプターのデプロイおよび検証の待機処理による応答イベントの直接処理
影響対象応答イベントを待つアダプターのデプロイまたは検証フロー(推定)
イベント読み取り用のゴルーチンが完了する前に待機処理がタイムアウトすると、そのゴルーチンが結果の送信時にブロックされたままになることがありました。待機ループは、一致する成功イベントまたはエラーイベントを受け取ると終了し、終了時にタイマーを停止するようになりました。
原文を表示
- fix: restrict Windows token file permissions @0xmaster7 (#23380)
- fix: restrict Windows token file permissions @0xmaster7 (#23380)
github.com/meshery/meshery/releases/tag/v1.0.80mesheryctl filter delete コマンドに必要な引数を1つに限定
影響対象mesheryctl filter delete コマンド
以前は、引数が0個でもハンドラーに到達でき、複数の引数も引数検証で拒否されませんでした。現在は、引数が0個の場合も複数の場合も、ハンドラーの実行前に検証エラーになります。
根拠“This PR enforces exact argument validation (`cobra.ExactArgs(1)`) on `mesheryctl filter delete`, rejecting invocations with zero arguments or multiple arguments before executing the command handler.” meshery/meshery/pull/23519 ↗ 原文を表示
- [mesheryctl] Enforce exact argument validation in filter delete @AdityaChaudhary5412 (#23519)
github.com/meshery/meshery/releases/tag/v1.0.80mesheryctl による . を含むコンテキスト名の拒否
影響対象名前に . を含む mesheryctl のコンテキスト(推定)
以前は、Viper で読み戻せないにもかかわらず、. を含むコンテキストを作成できました。追加に失敗した場合、既存の設定は変更されなくなりました。
根拠“Adding a context name that contains a period now returns an error and leaves the existing configuration unchanged.” meshery/meshery/pull/23441 ↗ 原文を表示
- [mesheryctl] Reject dotted context names @0xmaster7 (#23441)
github.com/meshery/meshery/releases/tag/v1.0.80