{"id":"CVE-2022-4318","published":"2023-09-25T19:23:02Z","modified":"2024-08-03T01:34:50Z","title":"Cri-o: /etc/passwd tampering privesc","vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.11","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0029,"percentile":0.22124,"provenance":"source"},"cwes":[{"id":"CWE-538","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:1033","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2023:1503","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-4318","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2152703","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":4.42},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.11","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.12","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-05-10T20:59:14.761359Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/cri-o/cri-o","vulnerableRanges":["<1.26.0"],"patched":["1.26.0"],"from":["GHSA-cm9x-c3rh-7rc4","GO-2022-1206"],"provenance":"source"}],"summary":{"text":"Red Hat OpenShift Container Platform 4.11 contains a flaw in its cri-o component, which lets arbitrary lines be inserted into /etc/passwd through a specially crafted environment variable. An attacker who holds local access and low-level privileges, with no user interaction required, can use this to tamper with the system's password file and escalate privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:53Z"},"euvd":{"id":"EUVD-2022-7601","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-27652","published":"2022-04-18","fixed":"1.24.0","kev":false},{"cve":"CVE-2022-1708","published":"2022-06-07","fixed":"1.24.1","kev":false},{"cve":"CVE-2022-2995","published":"2022-09-19","fixed":"1.25.0","kev":false,"link":{"from":"CVE-2022-2995","to":"CVE-2022-4318","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/cri-o/cri-o","fromFixed":"1.25.0","toFixed":"1.26.0","daysApart":371}]}},{"cve":"CVE-2022-4318","published":"2023-09-25","fixed":"1.26.0","kev":false},{"cve":"CVE-2023-6476","published":"2024-01-09","fixed":"1.29.1","kev":false,"link":{"from":"CVE-2022-4318","to":"CVE-2023-6476","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/cri-o/cri-o","fromFixed":"1.26.0","toFixed":"1.27.3","daysApart":106}]}},{"cve":"CVE-2024-3154","published":"2024-04-26","fixed":"1.29.4","kev":false},{"cve":"CVE-2024-5154","published":"2024-06-12","fixed":"1.30.1","kev":false}],"package":"Go:github.com/cri-o/cri-o"}}