CVE-2022-4318

High

Description

A vulnerability was found in cri-o. This issue allows the addition of arbitrary lines into /etc/passwd by use of a specially crafted environment variable.

SeverityHigh
CVSS7.8
Exploit probability—
ProductKubernetes Cri-o
PublishedSep 25, 2023
First seenSep 25, 2023
Weakness typeCWE-538CWE-538

How to fix

Update
  • github.com/cri-o/cri-o1.26.0 or later

Affected products

ProductAffected versionsFixed in
kubernetes cri-oNo range specified—
redhat openshift_container_platform_for_arm644.12, 4.11—
redhat openshift_container_platform_for_linuxone4.12, 4.11—
redhat openshift_container_platform_for_power4.12, 4.11—
redhat openshift_container_platform_ibm_z_systems4.12, 4.11—
fedoraproject extra_packages_for_enterprise_linux8.0—
fedoraproject fedora36, 37—
github.com/cri-o/cri-oGov < 1.26.01.26.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.