CVE-2022-1227
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 33.27%• Percentile: 97%
Techniques & Countermeasures
- CWE-269•Improper Privilege Management
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
- CWE-281•Improper Preservation of Permissions
The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.
Affected Systems
- fedoraproject•fedora
34 | 35
- github.com/containers•psgo
< 1.7.2
- github.com/containers/podman•v3
< 3.4
- podman_project•podman
< 4.0.0
- psgo_project•psgo
< 1.7.2
- redhat•developer_tools
1.0
- redhat•enterprise_linux
7.0 | 8.0
- redhat•enterprise_linux_eus
8.6
- redhat•enterprise_linux_for_ibm_z_systems
7.0 | 8.6
- redhat•enterprise_linux_for_power_little_endian
7.0 | 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_server_update_services_for_sap_solutions
8.6
- redhat•enterprise_linux_workstation
7.0
- redhat•openshift_container_platform
4.0
- redhat•quay
3.0.0
References (13)
- https://bugzilla.redhat.com/show_bug.cgi?id=2070368
- https://github.com/containers/podman/issues/10941
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ/
- https://security.netapp.com/advisory/ntap-20240628-0001/
- https://nvd.nist.gov/vuln/detail/CVE-2022-1227
- 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/package-announce@lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ
- https://pkg.go.dev/vuln/GO-2022-0558
- https://security.netapp.com/advisory/ntap-20240628-0001