Bug 1814953 (CVE-2018-1002104)

Summary: CVE-2018-1002104 kubernetes/ingress-nginx: /metrics endpoint exposed publicly by default
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bmontgom, eparis, jburrell, jokerman, nstielau, sponnaga
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kubernetes/ingress-nginx 1.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-19 06:16:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1814366    

Description Sam Fowler 2020-03-19 06:13:26 UTC
Versions before 1.5 of the Kubernetes NGINX Ingress Controller, exposed the prometheus '/metrics' endpoint publicly by default. A remote user could view cluster metrics without authenticating.

Upstream Issue:

https://github.com/kubernetes/ingress-nginx/pull/3125

Comment 1 Sam Fowler 2020-03-19 06:16:30 UTC
Statement:

OpenShift Container Platform is not affected by this flaw as it neither uses the Kubernetes NGINX Ingress Controller nor exposes exposes metrics publicly without authentication.