CVE-2022-1227
JSON

8.8high

Podman publishes a malicious image to public registries

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
4.17% (higher than 91% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-66vw-v2x9-hw75GO-2022-0558

Description

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.

Affected

Product or packageVersionsReported by
psgopodman 4.0, psgo 1.7.2CVE List
github.com/containers/podman/v3 (Go)before 3.4GitHub Advisory Database
github.com/containers/psgo (Go)before 1.7.2GitHub Advisory Database, Go Vulnerability Database
podman_project podmanbefore 4.0.0NVD
psgo_project psgobefore 1.7.2NVD
redhat developer_tools1.0NVD
redhat enterprise_linux_server_update_services_for_sap_solutions8.6NVD
redhat openshift_container_platform4.0NVD
redhat quay3.0.0NVD
redhat enterprise_linux7.0, 8.0NVD
redhat enterprise_linux_eus8.6NVD
redhat enterprise_linux_for_ibm_z_systems7.0, 8.6NVD

All scores

GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

Go Vulnerability Database

The psgo package executes the 'nsenter' binary, potentially allowing privilege escalation when used in environments where nsenter is provided by an untrusted source.

NVD (es)

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

References

https://bugzilla.redhat.com/show_bug.cgi?id=2070368issue-tracking, third-party-advisory, web
https://github.com/containers/podman/issues/10941exploit, issue-tracking, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ/vendor-advisory
https://security.netapp.com/advisory/ntap-20240628-0001/
https://nvd.nist.gov/vuln/detail/CVE-2022-1227advisory
https://github.com/containers/podman/pull/13862web
https://github.com/containers/podman/pull/13862/commits/79a3e149c10f74db4cebff624287385c90179d09web
https://github.com/containers/psgo/pull/92fix, web
https://github.com/containers/podmanpackage
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQweb
https://pkg.go.dev/vuln/GO-2022-0558web

Sources

SourceRecordLicence
CVE ListCVE-2022-1227 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-66vw-v2x9-hw75 changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0558 changed 2024-05-20CC-BY-4.0
NVDCVE-2022-1227 changed 2026-06-17Public domain