{"id":"CVE-2022-1227","aliases":["CVE-2022-1227","GHSA-66vw-v2x9-hw75","GO-2022-0558"],"related":[],"kind":"vulnerability","state":"published","title":"Podman publishes a malicious image to public registries","summary":"A privilege escalation flaw was found in Podman. This flaw allows an attacker to publish a malicious image to a public registry. Once this image is downloaded by a potential victim, the vulnerability is triggered after a user runs the 'podman top' command. This action gives the attacker access to the host filesystem, leading to information disclosure or denial of service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A privilege escalation flaw was found in Podman. This flaw allows an attacker to publish a malicious image to a public registry. Once this image is downloaded by a potential victim, the vulnerability is triggered after a user runs the 'podman top' command. This action gives the attacker access to the host filesystem, leading to information disclosure or denial of service.","source":"cvelist"},{"lang":"en","text":"Podman is a tool for managing OCI containers and pods. A privilege escalation flaw was found in Podman. This flaw allows an attacker to publish a malicious image to a public registry. Once this image is downloaded by a potential victim, the vulnerability is triggered after a user runs the 'podman top' command. This action gives the attacker access to the host filesystem, leading to information disclosure or denial of service.","format":"markdown","source":"ghsa"},{"lang":"en","text":"The psgo package executes the 'nsenter' binary, potentially allowing privilege escalation when used in environments where nsenter is provided by an untrusted source.","format":"markdown","source":"go"},{"lang":"es","text":"Se ha encontrado un fallo de escalada de privilegios en Podman. Este fallo permite a un atacante publicar una imagen maliciosa en un registro público. Una vez que esta imagen es descargada por una víctima potencial, la vulnerabilidad es desencadenada después de que un usuario ejecute el comando \"podman top\". Esta acción da al atacante acceso al sistema de archivos del host, conllevando a una divulgación de información o la denegación de servicio","source":"nvd"}],"published":"2022-04-29T15:45:00.000Z","modified":"2026-09-10T03:49:28.603Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-269","CWE-281"],"affected":[{"ranges":[{"version":"podman 4.0, psgo 1.7.2","status":"affected"}],"product":"psgo","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.4"}],"ecosystem":"Go","package":"github.com/containers/podman/v3","purl":"pkg:golang/github.com/containers/podman/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.2"}],"ecosystem":"Go","package":"github.com/containers/psgo","purl":"pkg:golang/github.com/containers/psgo","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.2"}],"ecosystem":"Go","package":"github.com/containers/psgo","purl":"pkg:golang/github.com/containers/psgo","source":"go"},{"ranges":[{"status":"affected","fixed":"4.0.0"}],"vendor":"podman_project","product":"podman","cpe":"cpe:2.3:a:podman_project:podman:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"1.7.2"}],"vendor":"psgo_project","product":"psgo","cpe":"cpe:2.3:a:psgo_project:psgo:*:*:*:*:*:go:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.0"}],"vendor":"redhat","product":"developer_tools","cpe":"cpe:2.3:a:redhat:developer_tools:1.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.6"}],"vendor":"redhat","product":"enterprise_linux_server_update_services_for_sap_solutions","cpe":"cpe:2.3:a:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"4.0"}],"vendor":"redhat","product":"openshift_container_platform","cpe":"cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"3.0.0"}],"vendor":"redhat","product":"quay","cpe":"cpe:2.3:a:redhat:quay:3.0.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"},{"status":"affected","version":"8.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.6"}],"vendor":"redhat","product":"enterprise_linux_eus","cpe":"cpe:2.3:o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"},{"status":"affected","version":"8.6"}],"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"},{"status":"affected","version":"8.6"}],"vendor":"redhat","product":"enterprise_linux_for_power_little_endian","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux_server","cpe":"cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.6"}],"vendor":"redhat","product":"enterprise_linux_server_aus","cpe":"cpe:2.3:o:redhat:enterprise_linux_server_aus:8.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.6"}],"vendor":"redhat","product":"enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","cpe":"cpe:2.3:o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.6"}],"vendor":"redhat","product":"enterprise_linux_server_tus","cpe":"cpe:2.3:o:redhat:enterprise_linux_server_tus:8.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux_workstation","cpe":"cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"34"},{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2070368","tags":["issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/containers/podman/issues/10941","tags":["exploit","issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20240628-0001/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1227","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/containers/podman/pull/13862","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/containers/podman/pull/13862/commits/79a3e149c10f74db4cebff624287385c90179d09","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/containers/psgo/pull/92","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/containers/podman","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0558","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20240628-0001","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-1227","url":"https://www.cve.org/CVERecord?id=CVE-2022-1227","licence":"CVE Terms of Use","modified":"2024-08-02T23:55:24.597Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-66vw-v2x9-hw75","url":"https://github.com/advisories/GHSA-66vw-v2x9-hw75","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:28.603Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0558","url":"https://pkg.go.dev/vuln/GO-2022-0558","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-1227","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1227","licence":"Public domain","modified":"2026-06-17T04:22:03.050Z"}],"updatedAt":"2026-11-25T22:58:11.309Z","epss":{"score":0.04171,"percentile":0.91132,"date":"2026-12-01T12:00:22.000Z"}}