Improper privilege management in psgo
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Privilege escalation
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 5 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-269.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | psgo | podman 4.0, psgo 1.7.2 | — | No fix listed | CNA |
| — | github.com/containers/podman/v3 (Go) | before 3.4 | 3.4 | Patch available | GHSA-66vw-v2x9-hw75 |
| — | github.com/containers/psgo (Go) | before 1.7.2 | 1.7.2 | Patch available | GHSA-66vw-v2x9-hw75 |
- psgo Vendor— Affected podman 4.0, psgo 1.7.2 Fixed in — No fix listed CNA
- github.com/containers/podman/v3 (Go) Vendor— Affected before 3.4 Fixed in 3.4 Patch available GHSA-66vw-v2x9-hw75
- github.com/containers/psgo (Go) Vendor— Affected before 1.7.2 Fixed in 1.7.2 Patch available GHSA-66vw-v2x9-hw75
CPE configurations NVD · 20
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:podman_project:podman:*:*:*:*:*:*:*:* | before 4.0.0 | Vulnerable | Podman Project |
| cpe:2.3:a:psgo_project:psgo:*:*:*:*:*:go:*:* | before 1.7.2 | Vulnerable | Psgo Project |
| cpe:2.3:a:redhat:developer_tools:1.0:*:*:*:*:*:*:* | 1.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:* | 8.6 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:quay:3.0.0:*:*:*:*:*:*:* | 3.0.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:* | 8.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:a:podman_project:podman:*:*:*:*:*:*:*:* Versions before 4.0.0 Vulnerable ·Podman Project
- cpe:2.3:a:psgo_project:psgo:*:*:*:*:*:go:*:* Versions before 1.7.2 Vulnerable ·Psgo Project
- cpe:2.3:a:redhat:developer_tools:1.0:*:*:*:*:*:*:* Versions 1.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:* Versions 8.6 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:quay:3.0.0:*:*:*:*:*:*:* Versions 3.0.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:* Versions 8.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Show 10 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.6:*:*:*:*:*:*:* | 8.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.6:*:*:*:*:*:*:* | 8.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:8.6:*:*:*:*:*:*:* | 8.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:* | 8.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:8.6:*:*:*:*:*:*:* | 8.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.6:*:*:*:*:*:*:* Versions 8.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.6:*:*:*:*:*:*:* Versions 8.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:8.6:*:*:*:*:*:*:* Versions 8.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:* Versions 8.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:8.6:*:*:*:*:*:*:* Versions 8.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-66vw-v2x9-hw75 github.com/containers/podman/v3 (Go) Fixed in 3.4 Advisory →
- Fix · GHSA-66vw-v2x9-hw75 github.com/containers/psgo (Go) Fixed in 1.7.2 Advisory →
Red Hat 7 advisories
- RHSA-2022:5622 Released 2022-07-19 · Red Hat rating Importantcontainer-tools:rhel8 security and bug fix update
- Red Hat Enterprise Linux AppStream EUS (v.8.4) buildah-1.21.4-3.module+el8.4.0+15741+47bb6bfe.aarch64::container-tools:rhel8, buildah-1.21.4-3.module+el8.4.0+15741+47bb6bfe.ppc64le::container-tools:rhel8, buildah-1.21.4-3.module+el8.4.0+15741+47bb6bfe.s390x::container-tools:rhel8 +47
- RHSA-2022:4816 Released 2022-05-31 · Red Hat rating Importantcontainer-tools:3.0 security update
- Red Hat Enterprise Linux AppStream EUS (v.8.4) buildah-1.19.9-1.module+el8.4.0+14872+9efa52a3.aarch64::container-tools:3.0, buildah-1.19.9-1.module+el8.4.0+14872+9efa52a3.ppc64le::container-tools:3.0, buildah-1.19.9-1.module+el8.4.0+14872+9efa52a3.s390x::container-tools:3.0 +47
- RHSA-2022:2263 Released 2022-05-26 · Red Hat rating ImportantOpenShift Container Platform 4.6.58 packages and security update
- Red Hat OpenShift Container Platform 4.6 podman-1.9.3-5.rhaos4.6.el8, podman-docker-1.9.3-5.rhaos4.6.el8, podman-remote-1.9.3-5.rhaos4.6.el8 +1
Show 4 more Red Hat advisories
- RHSA-2022:4651 Released 2022-05-18 · Red Hat rating Importantcontainer-tools:2.0 security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.2) buildah-1.11.6-8.module+el8.2.0+14896+bf621b2a.aarch64::container-tools:2.0, buildah-1.11.6-8.module+el8.2.0+14896+bf621b2a.ppc64le::container-tools:2.0, buildah-1.11.6-8.module+el8.2.0+14896+bf621b2a.s390x::container-tools:2.0 +47
- RHSA-2022:2190 Released 2022-05-11 · Red Hat rating Importantpodman security update
- Red Hat Enterprise Linux 7 Extras podman-1.6.4-32.el7_9, podman-docker-1.6.4-32.el7_9
- RHSA-2022:2143 Released 2022-05-10 · Red Hat rating Importantcontainer-tools:3.0 security update
- Red Hat Enterprise Linux AppStream (v. 8) buildah-1.19.9-3.module+el8.6.0+14874+64436299.aarch64::container-tools:3.0, buildah-1.19.9-3.module+el8.6.0+14874+64436299.ppc64le::container-tools:3.0, buildah-1.19.9-3.module+el8.6.0+14874+64436299.s390x::container-tools:3.0 +47
- RHSA-2022:1762 Released 2022-05-10 · Red Hat rating Importantcontainer-tools:rhel8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) aardvark-dns-2:1.0.1-27.module+el8.6.0+14673+621cb8be.aarch64::container-tools:rhel8, aardvark-dns-2:1.0.1-27.module+el8.6.0+14673+621cb8be.ppc64le::container-tools:rhel8, aardvark-dns-2:1.0.1-27.module+el8.6.0+14673+621cb8be.s390x::container-tools:rhel8 +47
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix planned: Will not fix |
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 Extras | Fixed | RHSA-2022:2190 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2022:1762, RHSA-2022:2143 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.2) | Fixed | RHSA-2022:4651 |
| Red Hat Enterprise Linux AppStream EUS (v.8.4) | Fixed | RHSA-2022:4816, RHSA-2022:5622 |
| Red Hat OpenShift Container Platform 4.6 | Fixed | RHSA-2022:2263 |
Not affected: 3 products
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2022-1227
- 2026-10-03 Alias added: GHSA-66vw-v2x9-hw75
References
Advisory 3
Other 9
- https://security.netapp.com/advisory/ntap-20240628-0001/
- https://github.com/containers/podman/pull/13862
- https://github.com/containers/podman/pull/13862/commits/79a3e149c10f74db4cebff624287385c90179d09
- https://github.com/containers/psgo/pull/92
- https://github.com/containers/podman
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ
- https://lists.fedoraproject.org/archives/list/[email protected]/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ
- https://pkg.go.dev/vuln/GO-2022-0558
- https://security.netapp.com/advisory/ntap-20240628-0001
Sources
- CVE-2022-1227 · CVE Program
- CVE-2022-1227 · NVD
- FIRST EPSS
- GHSA-66vw-v2x9-hw75 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-1227 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences