Deserialization of Untrusted Data Affecting kube-state-metrics-2.2.0 package, versions <2.2.0-r2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.09% (40th 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 Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-KUBESTATEMETRICS220-5881180
  • published5 Sept 2023
  • disclosed19 May 2022

Introduced: 19 May 2022

CVE-2022-28948  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Chainguard kube-state-metrics-2.2.0 to version 2.2.0-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kube-state-metrics-2.2.0 package and not the kube-state-metrics-2.2.0 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

An issue in the Unmarshal function in Go-Yaml v3 causes the program to crash when attempting to deserialize invalid input.

CVSS Scores

version 3.1