CVE-2025-4437: Cri-o: large /etc/passwd file may lead to denial of service
There's a vulnerability in the CRI-O application where when container is launched with securityContext.runAsUser specifying a non-existent user, CRI-O attempts to create the user, reading the container's entire /etc/passwd file into memory. If this file is excessively large, it can cause the a high memory consumption leading applications to be killed due to out-of-memory. As a result a denial-of-service can be achieved, possibly disrupting other pods and services running in the same host.
Security readout for executives and security teams
Plain-English summary
A specially prepared container can make CRI-O consume excessive host memory when it requests a nonexistent user and contains an unusually large /etc/passwd file. The resulting out-of-memory condition can terminate applications and disrupt other pods or services on the same host. The supplied sources rate this as medium severity.
Executive priority
Treat this as a moderate operational-resilience issue. Prioritize internet-facing, multi-tenant, or less-trusted workload environments because successful abuse may affect neighboring services on the same host. Confirm exposure promptly, then follow Red Hat’s supported remediation guidance. No active exploitation evidence is supplied.
Technical view
CRI-O reads the container’s entire /etc/passwd file into memory while attempting to create a runAsUser identity that does not exist. An excessively large file can exhaust memory, producing a host-level denial of service. This is classified as CWE-770, with CVSS 3.1 score 5.7. Specific affected versions are not supplied.
Likely exposure
Exposure is indicated for Red Hat OpenShift Container Platform 4 deployments using affected CRI-O or openshift/ose-rhel-coreos-9 components. Practical risk is higher where less-trusted users can submit workloads, influence container images, or set securityContext.runAsUser. Exact affected versions are not provided.
Exploitation context
The supplied record does not report known active exploitation, and CVE-2025-4437 is not identified as a KEV entry. Exploitation requires a container combining a nonexistent runAsUser identity with an excessively large /etc/passwd file, potentially causing memory exhaustion on its host.
Researcher notes
The vulnerable path involves unbounded memory consumption while CRI-O processes the complete container /etc/passwd file for a nonexistent runAsUser. Scope remains unchanged and impact is availability only under the supplied CVSS vector. Version boundaries, patched releases, and confirmed exploitation are absent from the bundle.
Mitigation direction
Check Red Hat guidance for affected versions, patches, and supported remediation.
Prioritize remediation on clusters accepting workloads or images from less-trusted users.
Review admission controls governing container images and securityContext.runAsUser settings.
Monitor node memory pressure and unexpected out-of-memory application terminations.
Validation and detection
Inventory OpenShift Container Platform 4 clusters and their CRI-O and RHEL CoreOS package versions.
Compare installed versions with Red Hat’s current CVE and Bugzilla guidance.
Identify workloads specifying runAsUser values absent from their container account databases.
Review container images for unexpectedly large /etc/passwd files.
Examine node monitoring for memory spikes, OOM events, and correlated pod disruption.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-770: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-770 · source CWE mapping
Allocation of Resources Without Limits or Throttling
Allocation of Resources Without Limits or Throttling represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.