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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | cri-o | 1.26.2-r0 | ALPINE-CVE-2022-4318 |
| Alpine:v3.22 | cri-o | 1.26.2-r0 | ALPINE-CVE-2022-4318 |
| Alpine:v3.23 | cri-o | 1.26.2-r0 | ALPINE-CVE-2022-4318 |
| Alpine:v3.24 | cri-o | 1.26.2-r0 | ALPINE-CVE-2022-4318 |
| Go | github.com/cri-o/cri-o | 1.26.0 | GHSA-cm9x-c3rh-7rc4 |
| Go | github.com/cri-o/cri-o | 1.26.0 | GO-2022-1206 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat OpenShift Container Platform 4.11 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-538 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- RHSA-2023:1033 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:1503 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2022-4318 vdb-entry, x_refsource_REDHAT
- RHBZ#2152703 issue-tracking, x_refsource_REDHAT