Bug 2083919

Summary: openshift4/ose-operator-registry:4.10.0 having security vulnerabilities
Product: OpenShift Container Platform Reporter: Ashwini M. Khaire <akhaire>
Component: OLMAssignee: Per da Silva <pegoncal>
OLM sub component: OLM QA Contact: Bruno Andrade <bandrade>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: jiazha, pegoncal, rdey, tflannag
Version: 4.11Keywords: Triaged
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2095329 (view as bug list) Environment:
Last Closed: 2022-08-10 11:11:01 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:
Bug Depends On:    
Bug Blocks: 2095329    

Description Ashwini M. Khaire 2022-05-11 02:30:31 UTC
Description of problem:

One of the customers reported that the following CVEs arrived in their twistlock scans for `openshift4/ose-operator-registry:4.10.0` image for the `go` package. 

~~~
CVE-2022-23772
CVE-2022-23773
CVE-2022-23806
CVE-2022-28327
CVE-2022-24921
CVE-2022-24675
~~~

Version-Release number of selected component (if applicable): 
openshift4/ose-operator-registry:4.10.0
go package version 1.17.5

Attaching the security scan report in the comment section.

Comment 2 Per da Silva 2022-05-11 12:40:14 UTC
To correct this, it looks like we need to do two things:
 - update the go version to 1.17.9
 - ensure that we don't accept arbitrary length regexps

Comment 5 Per da Silva 2022-05-18 11:03:23 UTC
Looking into it now

Comment 9 Per da Silva 2022-05-27 08:55:56 UTC
Marking this as a non-blocker as this is an off-cluster component. Looking into the fix now.

Comment 18 Jian Zhang 2022-06-10 01:54:57 UTC
Verified it based on comment 15, thanks!

Comment 22 errata-xmlrpc 2022-08-10 11:11:01 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 (Important: OpenShift Container Platform 4.11.0 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-2022:5069

Comment 23 Red Hat Bugzilla 2023-09-18 04:36:58 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days