Bug 2136673 (CVE-2022-3162)

Summary: CVE-2022-3162 kubernetes: Unauthorized read of Custom Resources
Product: [Other] Security Response Reporter: Nick Tait <ntait>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dhellmann, jburrell, joelsmith, jramanat, security-response-team, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Kubernetes kube-apiserver 1.25.4, Kubernetes kube-apiserver 1.24.8, Kubernetes kube-apiserver 1.23.14, Kubernetes kube-apiserver 1.22.16 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in kubernetes. Users authorized to list or watch one type of namespaced custom resource cluster-wide can read custom resources of a different kind in the same API group they are not authorized to read.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-21 08:52:10 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: 2141987, 2141988    
Bug Blocks: 2134975    

Description Nick Tait 2022-10-20 22:16:29 UTC
A security issue was discovered in etcd where users authorized to list or watch one type of namespaced custom resource cluster-wide can read custom resources of a different type in the same API group they are not authorized to read.

Comment 6 Avinash Hanwate 2022-11-11 11:01:34 UTC
Created golang-k8s-kubernetes tracking bugs for this issue:

Affects: fedora-all [bug 2141987]


Created origin tracking bugs for this issue:

Affects: fedora-all [bug 2141988]

Comment 8 errata-xmlrpc 2023-01-17 14:51:44 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.12

Via RHSA-2022:7398 https://access.redhat.com/errata/RHSA-2022:7398

Comment 9 Product Security DevOps Team 2023-01-21 08:52:08 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-3162

Comment 10 errata-xmlrpc 2023-02-20 18:31:36 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.12

Via RHSA-2023:0772 https://access.redhat.com/errata/RHSA-2023:0772