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 package | Versions | Reported by |
|---|---|---|
| cri-o | Not specified | CVE List |
| openshift/ose-rhel-coreos-8 | Not specified | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| github.com/cri-o/cri-o (Go) | up to 1.33.3, all versions | GitHub Advisory Database, Go Vulnerability Database |
All scores
| redhat | 5.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| GitHub | 5.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-4437 changed 2026-09-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8f93-j3fx-72f3 changed 2025-08-29 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3897 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2025-4437 changed 2026-09-26 | Public domain |