A vulnerability was found in CRI-O that causes memory or disk space exhaustion on the node for anyone with access to the Kube API. The ExecSync request runs commands in a container and logs the output of the command. This output is then read by CRI-O after command execution, and it is read in a manner where the entire file corresponding to the output of the command is read in. Thus, if the output of the command is large it is possible to exhaust the memory or the disk space of the node when CRI-O reads the output of the command. The highest threat from this vulnerability is system availability.
The product does not properly control the allocation and maintenance of a limited resource.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Cri-o | Kubernetes | * | 1.19.7 (excluding) |
Cri-o | Kubernetes | 1.20.0 (including) | 1.20.8 (excluding) |
Cri-o | Kubernetes | 1.21.0 (including) | 1.21.8 (excluding) |
Cri-o | Kubernetes | 1.22.0 (including) | 1.22.5 (excluding) |
Cri-o | Kubernetes | 1.23.0 (including) | 1.23.3 (excluding) |
Cri-o | Kubernetes | 1.24.0 (including) | 1.24.0 (including) |
Red Hat Enterprise Linux 8 | RedHat | container-tools:rhel8-8070020220929222448.39077419 | * |
Red Hat Enterprise Linux 8 | RedHat | container-tools:4.0-8070020220830101436.39077419 | * |
Red Hat Enterprise Linux 8 | RedHat | container-tools:3.0-8070020220802115906.39077419 | * |
Red Hat OpenShift Container Platform 3.11 | RedHat | cri-o-0:1.11.16-0.17.rhaos3.11.git4c0a8ad.el7 | * |
Red Hat OpenShift Container Platform 4.10 | RedHat | conmon-2:2.0.29-3.rhaos4.10.el8 | * |
Red Hat OpenShift Container Platform 4.10 | RedHat | cri-o-0:1.23.3-3.rhaos4.10.git5fe1720.el8 | * |
Red Hat OpenShift Container Platform 4.6 | RedHat | conmon-2:2.0.21-3.rhaos4.6.el7 | * |
Red Hat OpenShift Container Platform 4.6 | RedHat | cri-o-0:1.19.7-2.rhaos4.6.git3c20b65.el7 | * |
Red Hat OpenShift Container Platform 4.7 | RedHat | conmon-2:2.0.29-3.rhaos4.7.el8 | * |
Red Hat OpenShift Container Platform 4.7 | RedHat | cri-o-0:1.20.8-3.rhaos4.7.gitb9df556.el8 | * |
Red Hat OpenShift Container Platform 4.8 | RedHat | conmon-2:2.0.29-3.rhaos4.8.el8 | * |
Red Hat OpenShift Container Platform 4.8 | RedHat | cri-o-0:1.21.8-3.rhaos4.8.gitd7fbb0d.el8 | * |
Red Hat OpenShift Container Platform 4.9 | RedHat | conmon-2:2.0.29-3.rhaos4.9.el7 | * |
Red Hat OpenShift Container Platform 4.9 | RedHat | cri-o-0:1.22.5-3.rhaos4.9.gitb6d3a87.el7 | * |
Mitigation of resource exhaustion attacks requires that the target system either:
The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.
The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.