CVE-2025-4437
JSON

5.7medium

Cri-o: large /etc/passwd file may lead to denial of service

Severity
5.7medium CVSS:3.1 by redhat
Exploit likelihood
0.28% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-8f93-j3fx-72f3GO-2025-3897

Description

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.

Affected

Product or packageVersionsReported by
cri-oNot specifiedCVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
github.com/cri-o/cri-o (Go)up to 1.33.3, all versionsGitHub Advisory Database, Go Vulnerability Database

All scores

redhat5.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
GitHub5.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

Go Vulnerability Database

CRI-O has Potential High Memory Consumption from File Read in github.com/cri-o/cri-o

NVD (es)

Hay una vulnerabilidad en la aplicación CRI-O donde cuando un contenedor es lanzado con securityContext.runAsUser especificando un usuario inexistente, CRI-O intenta crear el usuario, leyendo el archivo /etc/p4ssd completo del contenedor en memoria. Si este archivo es excesivamente grande, puede causar un alto consumo de memoria, lo que lleva a que las aplicaciones sean terminadas debido a falta de memoria. Como resultado, se puede lograr una denegación de servicio, posiblemente interrumpiendo otros pods y servicios que se ejecutan en el mismo host.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-4437 changed 2026-09-01CVE Terms of Use
GitHub Advisory DatabaseGHSA-8f93-j3fx-72f3 changed 2025-08-29CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3897 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-4437 changed 2026-09-26Public domain