Git resolver のパストラバーサルの修正
critical影響対象Git resolver を使用する構成
v1.10.2 より前は、Git resolver を使って ResolutionRequests を作成できるユーザーが、パストラバーサルを含むパスを指定して resolver の Pod 内のファイルを読み取ることができました。resolver は現在、pathInRepo に .. の要素を含む値を拒否し、シンボリックリンクを使ったパスの逸脱を防ぐため、パスがリポジトリー内に収まることも確認します。
原文を表示
- **[GHSA-j5q5-j9gm-2w5c](https://github.com/tektoncd/pipeline/security/advisories/GHSA-j5q5-j9gm-2w5c)** (Critical): Path traversal in git resolver allows reading arbitrary files from the resolver pod. Fixed by validating the `pathInRepo` parameter to prevent directory traversal.github.com/tektoncd/pipeline/releases/tag/v1.10.2