Improper Input Validation Affecting k8s.io/kubernetes/pkg/controller package, versions <1.27.0-alpha.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-K8SIOKUBERNETESPKGCONTROLLER-6252624
  • published19 Feb 2024
  • disclosed7 Feb 2024
  • creditMikel Duke

Introduced: 7 Feb 2024

CVE-2024-0793  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade k8s.io/kubernetes/pkg/controller to version 1.27.0-alpha.1 or higher.

Overview

k8s.io/kubernetes/pkg/controller is a code for controllers (like the replication controller).

Affected versions of this package are vulnerable to Improper Input Validation due to the improper handling of a malformed HPA v1 manifest. Specifically, when the initial application of an HPA config YAML that lacks a .spec.behavior.scaleUp block is processed, it triggers a condition where KCM pods enter a continuous restart loop. This situation effectively incapacitates the service, leading to a denial of service condition.

CVSS Scores

version 3.1