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.
Problem types
Allocation of Resources Without Limits or Throttling
Product status
Timeline
2025-06-26: | Reported to Red Hat. |
2025-06-26: | Made public. |
Credits
Red Hat would like to thank Dongha Kim (BoB Project Team, Pirates) for reporting this issue.
References
access.redhat.com/security/cve/CVE-2025-4437
bugzilla.redhat.com/show_bug.cgi?id=2375084 (RHBZ#2375084)