Bug 1960757

Summary: [OVN] hostnetwork pod can access MCS port 22623 or 22624 on master
Product: OpenShift Container Platform Reporter: Anurag saxena <anusaxen>
Component: NetworkingAssignee: Casey Callendrello <cdc>
Networking sub component: ovn-kubernetes QA Contact: Anurag saxena <anusaxen>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: aconstan, astoycos, bbennett, danw, zzhao
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:08:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anurag saxena 2021-05-14 18:35:56 UTC
Description of problem: Able to access MCS port on the master from a hostnetwork pod. Had AWS cluster.

Looks good on OpenshiftSDN though.

Version-Release number of selected component (if applicable):4.8.0-0.nightly-2021-05-14-075932


How reproducible:Always (regression)


Steps to Reproduce:
1.Create a hostnetwork pod in a test project 
2.curl -I https://<master_node_ip>:22623/config/master -k
3.

Actual results: Step 2 returns HTTP/1.1 200 OK

Expected results: Connection should be refused


Additional info: Let me know if any specific logs are needed

Comment 7 errata-xmlrpc 2021-07-27 23:08:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438