Input validation error in CRI-O - CVE-2022-4318

 

Input validation error in CRI-O - CVE-2022-4318

Published: December 23, 2022 / Updated: April 4, 2023


Vulnerability identifier: #VU70478
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-4318
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: CRI-O
Affected software:
CRI-O

Detailed vulnerability description

The vulnerability allows a local user to bypass certain security restrictions.

The vulnerability exists due to improper input validation when handling newline characters in environment variables. A local user can create a specially crafted environment variable and add entries to a container's /etc/passwd. It is also possible to circumvent admission validation of username/UID by adding such an entry.


How to mitigate CVE-2022-4318

Install updates from vendor's website.

Sources