CVE-2024-45336 Affecting kube-state-metrics package, versions <2.14.0-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-CHAINGUARDLATEST-KUBESTATEMETRICS-8679470
  • published31 Jan 2025
  • disclosed28 Jan 2025

Introduced: 28 Jan 2025

NewCVE-2024-45336  (opens in a new tab)

How to fix?

Upgrade Chainguard kube-state-metrics to version 2.14.0-r3 or higher.

NVD Description

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

The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2.

CVSS Scores

version 3.1