cve.bz

CVE-2022-2403 redhat openshift: Exposure of Resource to Wrong Sphere

6.5 mediumEPSS 0.6%Fix available

Medium (6.5) in redhat openshift. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
A credentials leak was found in the OpenShift Container Platform. The private key for the external cluster certificate was stored incorrectly in the oauth-serving-cert ConfigMaps, and accessible to any authenticated OpenShift user or service-account. A malicious user could exploit this flaw by reading the oauth-serving-cert ConfigMap in the openshift-config-managed namespace, compromising any web traffic secured using that certificate.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere
CWE-668 Exposure of Resource to Wrong Sphere
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-2403 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2403?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2403?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-2403 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:openshift4.9 and later

Red Hat

Red Hat rates this Important.

Red Hat's statement

All versions of the OpenShift Container Platform 4.9 and later are affected by this vulnerability.

Red Hat's mitigation

Removal of the private key from the ConfigMap, or modification of the RBAC permissions is not a sufficient mitigation on its own, as these will both be restored by the authentication-operator.

This flaw can be mitigated by deploying a custom webhook which filters out the private key from the target ConfigMap, preventing it from being restored by the authentication-operator. An example of this can be found here:

https://github.com/sfowl/configmap-cleaner

After upgrading to a fixed version of OpenShift or applying the mitigation, all ingress certificates should be rotated:

https://docs.openshift.com/container-platform/4.10/security/certificates/replacing-default-ingress-certificate.html#replacing-default-ingress

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.10openshift4/ose-cluster-authentication-operator:v4.10.0-202207160316.p0.g6a015c7.assembly.streamFixed 2022-07-25RHSA-2022:5664
Red Hat OpenShift Container Platform 4.9openshift4/ose-cluster-authentication-operator:v4.9.0-202208020055.p0.g265030f.assembly.streamFixed 2022-08-09RHSA-2022:5879

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-2403.

Attack patterns (CAPEC)

  • CAPEC-170 Web Application Fingerprinting Likelihood: High · Severity: Low
  • CAPEC-694 System Location Discovery Likelihood: High · Severity: Very Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON