CVE-2022-1227 json
Podman publishes a malicious image to public registries
published 2022-04-29 4 y ago modified 2026-09-10 1 mo ago also GHSA-66vw-v2x9-hw75 , GO-2022-0558 , EUVD-2022-1644
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.2%
- EPSS 4.2% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/containers/podman/v3 3.4
- go github.com/containers/psgo 1.7.2
- podman_project podman 4.0.0
- psgo_project psgo 1.7.2
- libpod Debian 12 3.4.7+ds1-1
- golang-github-containers-psgo Debian 14, Debian 13, Debian 12 1.7.1+ds1-1
debian advisories DEBIAN-CVE-2022-1227
- crit RHEL 8 3.15-3.module+el8.6.0+14673+621cb8be
- criu RHEL 8 3.15-3.module+el8.6.0+14673+621cb8be
- crun RHEL 8 1.4.4-1.module+el8.6.0+14673+621cb8be
- runc RHEL 8 1:1.0.3-2.module+el8.6.0+14673+621cb8be
- udica RHEL 8 0.2.6-2.module+el8.6.0+14673+621cb8be
- conmon RHEL 8 2:2.1.0-1.module+el8.6.0+14673+621cb8be
- podman RHEL 8 2:4.0.2-6.module+el8.6.0+14673+621cb8be
- skopeo RHEL 8 2:1.6.1-2.module+el8.6.0+14673+621cb8be
red hat advisories RHSA-2022:1762RHSA-2022:4816RHSA-2022:4651RHSA-2022:5622RHSA-2022:2263RHSA-2022:2190
- podman SLE Module for Containers 15 SP3, SLE Micro 5.2, SLE Micro 5.1 +3 more 3.4.7-150300.9.9.2
- podman SLE Module for Containers 15 SP4, openSUSE Leap 15.4 3.4.7-150400.4.3.1
suse advisories SUSE-SU-2022:2839-2SUSE-SU-2022:2839-1SUSE-SU-2022:2834-1
- podman openSUSE Tumbleweed 4.2.1-2.1
opensuse advisories openSUSE-SU-2024:12400-1
- crit AlmaLinux 8 3.15-1.module_el8.6.0+2876+9ed4eae2
- criu AlmaLinux 8 3.15-1.module_el8.6.0+2876+9ed4eae2
- crun AlmaLinux 8 0.18-3.module_el8.6.0+2876+9ed4eae2
- runc AlmaLinux 8 1.0.0-73.rc95.module_el8.6.0+2876+9ed4eae2
- udica AlmaLinux 8 0.2.4-1.module_el8.6.0+2876+9ed4eae2
- conmon AlmaLinux 8 2:2.0.26-1.module_el8.6.0+2876+9ed4eae2
- podman AlmaLinux 8 3.0.1-9.module_el8.6.0+2886+bfcd65b6
- skopeo AlmaLinux 8 1:1.2.4-1.module_el8.6.0+2876+9ed4eae2
almalinux advisories ALSA-2022:2143ALSA-2022:1762
- criu Rocky Linux 8 3.15-1.module+el8.7.0+1076+9b1c11c1
- criu Rocky Linux 8 3.15-1.module+el8.4.0+556+40122d08
- criu Rocky Linux 8 3.15-1.module+el8.5.0+709+440d5e7e
- criu Rocky Linux 8 3.15-1.module+el8.6.0+783+10209741
- crun Rocky Linux 8 0.18-3.module+el8.7.0+1076+9b1c11c1
- crun Rocky Linux 8 0.18-3.module+el8.6.0+783+10209741
- runc Rocky Linux 8 1.0.0-73.rc95.module+el8.7.0+1076+9b1c11c1
- runc Rocky Linux 8 1.0.0-73.rc95.module+el8.5.0+769+55ca48e8
rocky linux advisories RLSA-2022:2143RLSA-2022:1762
- podman Alpine 3.15 3.4.7-r0
alpine advisories ALPINE-CVE-2022-1227
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/containers/podman#13862 commit
- github.com/containers/podman#13862 pull request
- github.com/containers/psgo#92 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-1227 updated cvss 8.0
psgo: Privilege escalation in 'podman top'
-
Red Hat Enterprise Linux 8 podman, podman-tests, podman-docker, podman-remote, podman-gvproxy, podman-plugins, +2 moreaffected: no fix available
-
Red Hat OpenShift Container Platform 4 openshift4/file-integrity-rhel8-operatoraffected: no fix planned “Will not fix”
-
Red Hat Quay 3 quay/quay-builder-rhel8affected: no fix available
-
Red Hat Enterprise Linux 7 Extras podman 1.6.4-32.el7_9, podman-docker 1.6.4-32.el7_9fixed: vendor fix RHSA-2022:2190
-
Red Hat Enterprise Linux AppStream (v. 8) crit 3.15-1.module+el8.6.0+14874+64436299, crit 3.15-3.module+el8.6.0+14673+621cb8be, criu 3.15-1.module+el8.6.0+14874+64436299, criu 3.15-3.module+el8.6.0+14673+621cb8be, crun 0.18-3.module+el8.6.0+14874+64436299, crun 1.4.4-1.module+el8.6.0+14673+621cb8be, +54 morefixed: vendor fix RHSA-2022:1762
-
Red Hat Enterprise Linux AppStream EUS (v. 8.2) crit 3.12-9.module+el8.2.0+14896+bf621b2a, criu 3.12-9.module+el8.2.0+14896+bf621b2a, udica 0.2.1-2.module+el8.2.0+14896+bf621b2a, conmon 2.0.6-1.module+el8.2.0+14896+bf621b2a, podman 1.6.4-24.module+el8.2.0+14896+bf621b2a, skopeo 0.1.40-9.module+el8.2.0+14896+bf621b2a, +16 morefixed: vendor fix RHSA-2022:4651
-
Red Hat Enterprise Linux AppStream EUS (v.8.4) crit 3.15-1.module+el8.4.0+14872+9efa52a3, crit 3.15-1.module+el8.4.0+14908+81312c48, criu 3.15-1.module+el8.4.0+14872+9efa52a3, criu 3.15-1.module+el8.4.0+14908+81312c48, crun 0.18-2.module+el8.4.0+14872+9efa52a3, crun 0.20.1-1.module+el8.4.0+14908+81312c48, +46 morefixed: vendor fix RHSA-2022:4816
-
Red Hat OpenShift Container Platform 4.6 podman 1.9.3-5.rhaos4.6.el8, podman-tests 1.9.3-5.rhaos4.6.el8, podman-docker 1.9.3-5.rhaos4.6.el8, podman-remote 1.9.3-5.rhaos4.6.el8fixed: vendor fix RHSA-2022:2263
show 1 moreshow fewer
-
Red Hat Enterprise Linux 8 conmon, podman, podman-tests, podman-docker, podman-remote, podman-gvproxy, +3 more Red Hat Enterprise Linux 9 conmon, podman, podman-tests, podman-docker, podman-remote, podman-gvproxy, +2 more Red Hat OpenShift Container Platform 4 cri-o, openshift4/cnf-tests-rhel8, openshift4/ose-machine-config-operatornot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.17% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/containers/podman/issues/10941 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/containers/podman/v3 | <3.4 |
3.4 |
| go | github.com/containers/psgo | <1.7.2 |
1.7.2 |
Affected products
- n/a psgo
Classification
References
-
github.com
/containers/podman/pull/13862
web
-
github.com
/containers/podman/pull/13862/commits/79a3e149c10f74db4cebff624287385c90179d09
web
-
github.com
/containers/psgo/pull/92
web, patch
-
github.com
/containers/podman/issues/10941
web, exploit, issue-tracking, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ/
vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2070368
web, issue-tracking, third-party-advisory
- security.netapp.com /advisory/ntap-20240628-0001/
-
nvd.nist.gov
/vuln/detail/CVE-2022-1227
advisory
-
github.com
/containers/podman
package
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ
web
-
pkg.go.dev
/vuln/GO-2022-0558
web
-
security.netapp.com
/advisory/ntap-20240628-0001
web
Sources
- CVE List CVE-2022-1227
- GitHub Advisory GHSA-66vw-v2x9-hw75
- NVD CVE-2022-1227
- OSV GO-2022-0558
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.