{"schemaVersion":3,"id":"CVE-2022-4318","aliases":["RHSA-2023:1033","RHSA-2023:1503","GHSA-cm9x-c3rh-7rc4","GO-2022-1206"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-09-25T19:23:02.119Z","modified":"2024-08-03T01:34:50.124Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:N","exploitability":2.1,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0029,"percentile":0.20288,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0029},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0029,"percentile":0.20288}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0029,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0029,"percentile":0.20288}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-538","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","description":"The product places sensitive information into files or directories that are accessible to actors who are allowed to have access to the files, but not to the sensitive information.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources","description":"The product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/913.html"}],"affected":[{"vendor":"fedoraproject","product":"extra_packages_for_enterprise_linux","name":"extra packages for enterprise linux","label":"extra_packages_for_enterprise_linux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":null,"hubHref":"/vendor/fedoraproject/extra_packages_for_enterprise_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"36","noFixRecorded":false,"fixedIn":null},{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"36 | 37","eol":{"isEol":true,"eolDate":"2023-05-16T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"36","label":"36","eolFrom":"2023-05-16T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"github.com/cri-o","product":"cri-o","name":"github.com/cri-o/cri-o","label":"cri-o","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/cri-o/cri-o","purlType":"golang","versions":[{"text":"< 1.26.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.26.0","eol":null,"hubHref":null},{"vendor":"kubernetes","product":"cri-o","name":"cri-o","label":"cri-o","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/kubernetes/cri-o"},{"vendor":"redhat","product":"openshift_container_platform_for_arm64","name":"openshift container platform for arm64","label":"openshift_container_platform_for_arm64","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.12","noFixRecorded":false,"fixedIn":null},{"text":"4.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.12 | 4.11","eol":null,"hubHref":"/vendor/redhat/openshift_container_platform_for_arm64"},{"vendor":"redhat","product":"openshift_container_platform_for_linuxone","name":"openshift container platform for linuxone","label":"openshift_container_platform_for_linuxone","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.12","noFixRecorded":false,"fixedIn":null},{"text":"4.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.12 | 4.11","eol":null,"hubHref":"/vendor/redhat/openshift_container_platform_for_linuxone"},{"vendor":"redhat","product":"openshift_container_platform_for_power","name":"openshift container platform for power","label":"openshift_container_platform_for_power","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.12","noFixRecorded":false,"fixedIn":null},{"text":"4.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.12 | 4.11","eol":null,"hubHref":"/vendor/redhat/openshift_container_platform_for_power"},{"vendor":"redhat","product":"openshift_container_platform_ibm_z_systems","name":"openshift container platform ibm z systems","label":"openshift_container_platform_ibm_z_systems","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.12","noFixRecorded":false,"fixedIn":null},{"text":"4.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.12 | 4.11","eol":null,"hubHref":"/vendor/redhat/openshift_container_platform_ibm_z_systems"},{"vendor":"redhat","product":"cri-o","name":"cri-o","label":"cri-o","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/cri-o","purlType":"rpm","versions":[{"text":"< 0:1.25.2-10.rhaos4.12.git0a083f9.el8","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.25.2-9.rhaos4.12.git0a083f9.el9","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 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","eol":null,"hubHref":null},{"vendor":"redhat","product":"cri-o-debuginfo","name":"cri-o-debuginfo","label":"cri-o-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/cri-o-debuginfo","purlType":"rpm","versions":[{"text":"< 0:1.25.2-10.rhaos4.12.git0a083f9.el8","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.25.2-9.rhaos4.12.git0a083f9.el9","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 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","eol":null,"hubHref":null},{"vendor":"redhat","product":"cri-o-debugsource","name":"cri-o-debugsource","label":"cri-o-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/cri-o-debugsource","purlType":"rpm","versions":[{"text":"< 0:1.25.2-10.rhaos4.12.git0a083f9.el8","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.25.2-9.rhaos4.12.git0a083f9.el9","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 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","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:1033","label":"access.redhat.com/errata/RHSA-2023:1033","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory","WEB","Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2023:1503","label":"access.redhat.com/errata/RHSA-2023:1503","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory","WEB","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-4318","label":"access.redhat.com/security/cve/CVE-2022-4318","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","REPORT","WEB","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2152703","label":"bugzilla.redhat.com/show_bug.cgi?id=2152703","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT","WEB","Third Party Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_1033.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_1033.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4318","label":"www.cve.org/CVERecord?id=CVE-2022-4318","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4318","label":"nvd.nist.gov/vuln/detail/CVE-2022-4318","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://docs.openshift.com/container-platform/4.11/release_notes/ocp-4-11-release-notes.html","label":"docs.openshift.com/container-platform/4.11/release_notes/ocp-4-11-release-notes.html","hostname":"docs.openshift.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_1503.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_1503.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://github.com/cri-o/cri-o/security/advisories/GHSA-cm9x-c3rh-7rc4","label":"github.com/cri-o/cri-o/security/advisories/GHSA-cm9x-c3rh-7rc4","hostname":"github.com","tags":["WEB","Advisory"]},{"url":"https://github.com/cri-o/cri-o/pull/6450","label":"github.com/cri-o/cri-o/pull/6450","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/cri-o/cri-o","label":"github.com/cri-o/cri-o","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-09-25T19:23:02.119Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T01:34:50.124Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:57:27.993Z","stale":false,"partial":false}}