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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.59% (50th 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 IDSNYK-GOLANG-GITHUBCOMKUBERNETESKUBERNETESPKGCONTROLLER-6252622
  • 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 github.com/kubernetes/kubernetes/pkg/controller to version 1.27.0-alpha.1 or higher.

Overview

github.com/kubernetes/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 Base Scores

version 3.1