CVE-2025-14443

Description

A flaw was found in ose-openshift-apiserver. This vulnerability allows internal network enumeration, service discovery, limited information disclosure, and potential denial-of-service (DoS) through Server-Side Request Forgery (SSRF) due to missing IP address and network-range validation when processing user-supplied image references.

Statement

The Red Hat Product Security team has assessed the severity of this vulnerability as moderate, due to the ability of authenticated users to trigger arbitrary outbound network connections from the OpenShift API server. Successful exploitation allows attackers to enumerate internal cluster services, probe private network infrastructure, and potentially access cloud metadata services in public cloud deployments. However, most if not all confidential endpoints are still protected due to requiring authentication tokens. The root cause is a default value of "allow-all" in the whitelist of allowed image registries. insufficient validation of IP addresses, network ranges, and domain. during image import processing, resulting in an SSRF condition within a core control-plane component.

Mitigation

Possible mitigations for this flaw include:
- removing the permissions that allow users to use the ImageStreamImport feature or explicitly only allowing trusted users to access the feature.
- explicitly set the apiserver's ImageStreamImport allow-list to trusted image registries. (i.e. `oc patch image.config.openshift.io/cluster --type=merge -p '{"spec":{"allowedRegistriesForImport":[{"domainName": "docker.io"}, {"domainName": "quay.io"}]}}'`)
- Set the apiserver's ImageStreamImport to deny all uses. (`oc patch image.config.openshift.io/cluster --type=merge -p '{"spec":{"allowedRegistriesForImport":[{"domainName": "-"}]}}'`)

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.4N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeChangedN/AN/A
ConfidentialityLowN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactLowN/AN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:L

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Application Data

Integrity

Technical Impact: Execute Unauthorized Code or Commands

Access Control

Technical Impact: Bypass Protection Mechanism

By providing URLs to unexpected hosts or ports, attackers can make it appear that the server is sending the request, possibly bypassing access controls such as firewalls that prevent the attackers from accessing the URLs directly. The server can be used as a proxy to conduct port scanning of hosts in internal networks, use other URLs such as that can access documents on the system (using file://), or use other protocols such as gopher:// or tftp://, which may provide greater control over the contents of requests.

Acknowledgements

Red Hat would like to thank Alessandro Affinito for reporting this issue.

Frequently Asked Questions

Want to get errata notifications? Sign up here.