Information Exposure Affecting k8s.io/ingress-nginx/images package, versions <2.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.44% (62nd 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-K8SIOINGRESSNGINXIMAGES-5789818
  • published20 Jul 2023
  • disclosed24 May 2022
  • creditamalucelli

Introduced: 24 May 2022

CVE-2018-1002104  (opens in a new tab)
CWE-215  (opens in a new tab)

How to fix?

Upgrade k8s.io/ingress-nginx/images to version 2.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure. Kubernetes ingress default backend, which handles invalid ingress traffic, exposes prometheus metrics publicly.

Workaround

Users can mask the /metrics endpoint with an Ingress rule so that metrics aren't exposed publicly.

CVSS Base Scores

version 3.1