Kyvernoの脆弱性で名前空間外のリソースを読み取られるおそれ
Summary
Kyvernoの1.19.1から1.19.2未満に、名前空間の分離を回避される脆弱性が見つかりました。名前空間付きのポリシーを作成できる利用者が、クエリ文字列を使ってクラスター全体のリソースを読み取れるおそれがあります。修正版の1.19.2が公開されているため、早めに更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Kyvernoの1.19.1から1.19.2未満に、名前空間の分離を回避される脆弱性が見つかりました。名前空間付きのポリシーを作成できる利用者が、クエリ文字列を使ってクラスター全体のリソースを読み取れるおそれがあります。修正版の1.19.2が公開されているため、早めに更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| kyverno | kyverno |
≥ 1.19.1, < 1.19.2 |
1.19.2 |
Original description The description as published by the source.
Kyverno from 1.19.1 before 1.19.2 contains a namespace isolation bypass in APICall Fetch() in pkg/engine/apicall/apiCall.go because path.Clean treats '?' as a path character, letting the namespace regex match segments inside the query string. Users who can create namespaced policies can supply a URLPath like /api/v1/nodes?x=/namespaces/default/ that passes validation while client-go requests the cluster-scoped endpoint, reading resources outside their namespace.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web nvd.nist.gov
- web github.com