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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-09-25 · Modified: 2024-08-03
- Aliases: RHSA-2023:1033, RHSA-2023:1503, GHSA-cm9x-c3rh-7rc4, GO-2022-1206, ALPINE-CVE-2022-4318
- Record: https://cvemate.com/vulnerability/CVE-2022-4318 · JSON: https://cvemate.com/vulnerability/CVE-2022-4318/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.29%, percentile 23.182%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine cri-o (Alpine Linux): \< 1.26.2-r0
- fedoraproject extra\_packages\_for\_enterprise\_linux: 8.0
- fedoraproject fedora: 36 \| 37
- github.com/cri-o cri-o (Go): \< 1.26.0
- kubernetes cri-o: na
- redhat openshift\_container\_platform\_for\_arm64: 4.12 \| 4.11
- redhat openshift\_container\_platform\_for\_linuxone: 4.12 \| 4.11
- redhat openshift\_container\_platform\_for\_power: 4.12 \| 4.11
- redhat openshift\_container\_platform\_ibm\_z\_systems: 4.12 \| 4.11
- redhat cri-o (Red Hat): \< 0:1.25.2-10.rhaos4.12.git0a083f9.el8 \| \< 0:1.25.2-9.rhaos4.12.git0a083f9.el9 \| \< 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8
- redhat cri-o-debuginfo (Red Hat): \< 0:1.25.2-10.rhaos4.12.git0a083f9.el8 \| \< 0:1.25.2-9.rhaos4.12.git0a083f9.el9 \| \< 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8
- redhat cri-o-debugsource (Red Hat): \< 0:1.25.2-10.rhaos4.12.git0a083f9.el8 \| \< 0:1.25.2-9.rhaos4.12.git0a083f9.el9 \| \< 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8

## References

- <https://access.redhat.com/errata/RHSA-2023:1033>
- <https://access.redhat.com/errata/RHSA-2023:1503>
- <https://access.redhat.com/security/cve/CVE-2022-4318>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2152703>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_1033.json>
- <https://www.cve.org/CVERecord?id=CVE-2022-4318>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4318>
- <https://docs.openshift.com/container-platform/4.11/release_notes/ocp-4-11-release-notes.html>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_1503.json>
- <https://github.com/cri-o/cri-o/security/advisories/GHSA-cm9x-c3rh-7rc4>
- <https://github.com/cri-o/cri-o/pull/6450>
- <https://github.com/cri-o/cri-o>
- <https://security.alpinelinux.org/vuln/CVE-2022-4318>

---

Data as of 2026-12-05T03:51:55.404Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
