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


| Updated: 2023-04-04

Vulnerability identifier: #VU70478

Vulnerability risk: Low

CVSSv4.0: 1.7 [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

Exploit availability: No

Vulnerable software:
CRI-O
Server applications / Virtualization software

Vendor: CRI-O

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

CRI-O: 0.0.0 - 0.3, 1.0.0 - 1.0.9, 1.8.0 - 1.8.5, 1.9.0 - 1.9.16, 1.10.0 - 1.10.6, 1.11.0 - 1.11.15, 1.12.0 - 1.12.10, 1.13.0 - 1.13.12, 1.14.0 - 1.14.12, 1.15.0 - 1.15.4, 1.16.0 - 1.16.6, 1.17.0 - 1.17.5, 1.18.0 - 1.18.6, 1.19.0 - 1.19.6, 1.20.0 - 1.20.9, 1.21.0 - 1.21.7, 1.22.0 - 1.22.5, 1.23.0 - 1.23.4, 1.24.0 - 1.24.3, 1.25.0 - 1.25.1


External links
https://github.com/cri-o/cri-o/security/advisories/GHSA-cm9x-c3rh-7rc4
https://github.com/cri-o/cri-o/releases/tag/v1.24.4


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability