CVE-2018-1002104

Description

Versions < 1.5 of the Kubernetes ingress default backend, which handles invalid ingress traffic, exposed prometheus metrics publicly.

Remediation

Workaround:

  • Mask the /metrics endpoint with an Ingress rule so that metrics aren't exposed publicly. See https://github.com/kubernetes/ingress-nginx/issues/1733#issuecomment-358492359

Categories

5.3
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.44%
Third-Party Advisory github.com
Affected: Kubernetes k8s.gcr.io/defaultbackend
Published at:
Updated at:

References

Link Tags
https://github.com/kubernetes/ingress-nginx/pull/3125 third party advisory patch

Frequently Asked Questions

What is the severity of CVE-2018-1002104?
CVE-2018-1002104 has been scored as a medium severity vulnerability.
How to fix CVE-2018-1002104?
As a workaround for remediating CVE-2018-1002104: Mask the /metrics endpoint with an Ingress rule so that metrics aren't exposed publicly. See https://github.com/kubernetes/ingress-nginx/issues/1733#issuecomment-358492359
Is CVE-2018-1002104 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2018-1002104 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2018-1002104?
CVE-2018-1002104 affects Kubernetes k8s.gcr.io/defaultbackend.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.