Bug 2247570 - openshift-4: Windows Machine Config Operator unconditionally approves all node CSRs
Summary: openshift-4: Windows Machine Config Operator unconditionally approves all nod...
Keywords:
Status: NEW
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2247571
TreeView+ depends on / blocked
 
Reported: 2023-11-02 04:06 UTC by Avinash Hanwate
Modified: 2024-02-27 15:16 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:0954 0 None None None 2024-02-27 15:16:46 UTC

Description Avinash Hanwate 2023-11-02 04:06:24 UTC
Windows Machine Config Operator approves CSRs for all nodes trying to join a cluster with WMCO installed. This fails here:
https://github.com/openshift/windows-machine-config-operator/blob/fbe9551005ca0f192c5cbc57e7ab781313dfc827/pkg/csr/csr.go#L84
validateCSRContents can return false without setting an error. This was introduced in
https://github.com/openshift/windows-machine-config-operator/commit/2a00c3129f810cc840b1fd2adcf3e7c6bf303ac9
before this commit, only !valid was checked.

Comment 2 errata-xmlrpc 2024-02-27 15:16:45 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.15

Via RHSA-2024:0954 https://access.redhat.com/errata/RHSA-2024:0954


Note You need to log in before you can comment on or make changes to this bug.