Cri-O · Cri-O · CVE-2022-1708
**Name of the Vulnerable Software and Affected Versions**
CRI-O versions prior to 1.24.1
CRI-O versions prior to 1.23.3
CRI-O versions prior to 1.22.5
CRI-O versions prior to v1.21.8
CRI-O versions prior to v1.20.8
CRI-O versions prior to v1.19.7
**Description**
A vulnerability in CRI-O 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.
**Recommendations**
For CRI-O versions prior to 1.24.1, update to version 1.24.1 or later.
For CRI-O versions prior to 1.23.3, update to version 1.23.3 or later.
For CRI-O versions prior to 1.22.5, update to version 1.22.5 or later.
For CRI-O versions prior to v1.21.8, update to version v1.21.8 or later.
For CRI-O versions prior to v1.20.8, update to version v1.20.8 or later.
For CRI-O versions prior to v1.19.7, update to version v1.19.7 or later.
As a temporary workaround, consider restricting access to the Kube API to minimize the risk of exploitation.