#VU70478 Input validation error in CRI-O


Published: 2022-12-23 | Updated: 2023-04-04

Vulnerability identifier: #VU70478

Vulnerability risk: Low

CVSSv3.1: 4.1 [CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-4318

CWE-ID: CWE-20

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
CRI-O
Web applications / Modules and components for CMS

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 - 1.25.1


External links
http://github.com/cri-o/cri-o/security/advisories/GHSA-cm9x-c3rh-7rc4
http://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