Vulnerability · Published Sep 25, 2023 · Assigned by redhat

CVE-2022-4318Cri-o: /etc/passwd tampering privesc

High 7.8

In plain English

A high-severity security flaw in Red Hat Enterprise Linux 9 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 78.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21cri-o1.26.2-r0ALPINE-CVE-2022-4318
Alpine:v3.22cri-o1.26.2-r0ALPINE-CVE-2022-4318
Alpine:v3.23cri-o1.26.2-r0ALPINE-CVE-2022-4318
Alpine:v3.24cri-o1.26.2-r0ALPINE-CVE-2022-4318
Gogithub.com/cri-o/cri-o1.26.0GHSA-cm9x-c3rh-7rc4
Gogithub.com/cri-o/cri-o1.26.0GO-2022-1206

Affected products (as reported)

Weakness: CWE-538 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References