CVE-2022-1227: High severity centos podman vulnerability

Published Jul 15, 2021
·
Updated

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.

Other sources

For containers which utilize user namepsaces, running 'podman top' triggers the nsenter binary inside a container. The root issue is in github.com/containers/psgo. Podman top doesn't join the user namespace of the container. This could enable an attacker to create a malicious nsenter binary which provides erroneous results to podman top, make syscalls, and other operations beyond what is normally allowed for the container.

Red Hat

Affected Software

26 affected componentsFixes available
redhat/podman<0:1.6.4-32.el7_9
0:1.6.4-32.el7_9
redhat/podman<0:1.9.3-5.rhaos4.6.el8
0:1.9.3-5.rhaos4.6.el8
redhat/podman<4.0
4.0
redhat/psgo<1.7.2
1.7.2
go/github.com/containers/podman/v3<3.4
3.4
go/github.com/containers/psgo<1.7.2
1.7.2
Podman Project Podman<4.0.0
Psgo Project Psgo Go<1.7.2
redhat Developer Tools=1.0
redhat Enterprise Linux Server Update Services For Sap Solutions=8.6
redhat OpenShift Container Platform=4.0
redhat Quay=3.0.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux Eus=8.6
redhat Enterprise Linux For Ibm Z Systems=7.0
redhat Enterprise Linux For Ibm Z Systems=8.6
redhat Enterprise Linux For Power Little Endian=7.0
redhat Enterprise Linux For Power Little Endian=8.6
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=8.6
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.6
redhat Enterprise Linux Server Tus=8.6
redhat Enterprise Linux Workstation=7.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35

Event History

Jul 15, 2021
CVE Published
12:00 AM
Mar 30, 2022
Data Sourced
via Red Hat·11:13 PM
DescriptionSeverityAffected Software
Apr 29, 2022
CVE Published
via MITRE·03:45 PM
Data Sourced
via MITRE·03:45 PM
DescriptionWeakness
Apr 30, 2022
Advisory Published
via GitHub·12:00 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this flaw in Podman?

The vulnerability ID for this flaw in Podman is CVE-2022-1227.

2

What is the severity of CVE-2022-1227?

CVE-2022-1227 has a severity rating of 8.8 (high).

3

How does CVE-2022-1227 impact Podman?

CVE-2022-1227 allows an attacker to publish a malicious image to a public registry in Podman, leading to privilege escalation.

4

What software versions are affected by CVE-2022-1227?

Podman versions 0:1.6.4-32.el7_9 through 3.4 and psgo versions up to 1.7.2 are affected by CVE-2022-1227.

5

Where can I find more information about CVE-2022-1227?

You can find more information about CVE-2022-1227 at the following references: [1] [2] [3]

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203