English version →
カテゴリ
CVE-2022-39272

Improper use of metav1.Duration allows for Denial of Service

概要

Improper use of metav1.Duration allows for Denial of Service

原文の説明

取得元が公開している説明をそのまま載せています (多くは英語)。

Flux controllers within the affected versions range are vulnerable to a denial of service attack. Users that have permissions to change Flux’s objects, either through a Flux source or directly within a cluster, can provide invalid data to fields .spec.interval or .spec.timeout (and structured variations of these fields), causing the entire object type to stop being processed.

The issue has two root causes: a) the Kubernetes type metav1.Duration not being fully compatible with the Go type time.Duration as explained on upstream report; b) lack of validation within Flux to restrict allowed values.

Workarounds

Admission controllers can be employed to restrict the values that can be used for fields .spec.interval and .spec.timeout, however upgrading to the latest versions is still the recommended mitigation.

Credits

This issue was reported by Alexander Block (@codablock) through the Flux security mailing list (as recommended).

For more information

If you have any questions or comments about this advisory:

  • Open an issue in any of the affected repositories.
  • Contact us at the CNCF Flux channel.

References

出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

影響パッケージ

Bitnami flux
[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"0.35.0"}]}]
Bitnami kustomize
[{"type":"SEMVER","events":[{"introduced":"0.0.2"},{"fixed":"0.29.0"}]}]
Go github.com/fluxcd/flux2
[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"0.35.0"}]}]
Go github.com/fluxcd/source-controller
[{"type":"SEMVER","events":[{"introduced":"0.0.1-alpha-1"},{"fixed":"0.30.0"}]}]
Go github.com/fluxcd/kustomize-controller
[{"type":"SEMVER","events":[{"introduced":"0.0.1-alpha-1"},{"fixed":"0.29.0"}]}]
Go github.com/fluxcd/helm-controller
[{"type":"SEMVER","events":[{"introduced":"0.0.1-alpha-1"},{"fixed":"0.24.0"}]}]
Go github.com/fluxcd/notification-controller
[{"type":"SEMVER","events":[{"introduced":"0.0.1-alpha-1"},{"fixed":"0.27.0"}]}]
Go github.com/fluxcd/image-automation-controller
[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"0.26.0"}]}]
Go github.com/fluxcd/image-reflector-controller
[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"0.22.0"}]}]
Go github.com/fluxcd/helm-controller/api
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.26.0"}]}]
Go github.com/fluxcd/image-automation-controller/api
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.26.1"}]}]
Go github.com/fluxcd/image-reflector-controller/api
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.22.1"}]}]
Go github.com/fluxcd/kustomize-controller/api
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.30.0"}]}]
Go github.com/fluxcd/notification-controller/api
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.28.0"}]}]
Go github.com/fluxcd/source-controller/api
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.30.0"}]}]

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく