Skip to content
OpenAdvisories
High · 7.8 CVE-2022-4318 EUVD-2022-7601GHSA-cm9x-c3rh-7rc4GO-2022-1206

Cri-o: /etc/passwd tampering privesc

Published Sep 25, 2023 · Updated Aug 3, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat OpenShift Container Platform 4.11 — —
Red Hat Red Hat OpenShift Container Platform 4.12 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 cri-o 1.24.4-10.rhaos4.11.git1ed5ac5.el8 RHSA-2023:1503, RHSA-2023:1033
ReleasePackageFixed inAdvisory
Alpine v3.24 cri-o 1.26.2-r0 —
Alpine v3.23 cri-o 1.26.2-r0 —
Alpine v3.22 cri-o 1.26.2-r0 —
Alpine v3.21 cri-o 1.26.2-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) cri-o 1.22.3-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/cri-o/cri-o < 1.26.0 1.26.0 GHSA-cm9x-c3rh-7rc4

Advisories 3

References