Vulnerability Name:

CVE-2022-1227 (CCN-225583)

Assigned:2021-07-15
Published:2021-07-15
Updated:2022-07-23
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.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
7.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.0 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H)
7.0 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.0 High (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H)
7.0 High (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
9.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-269
CWE-281
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2022-1227

Source: CCN
Type: Red Hat Bugzilla - Bug 2070368
(CVE-2022-1227) - CVE-2022-1227 psgo: Privilege escalation in 'podman top'

Source: MISC
Type: Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2070368

Source: XF
Type: UNKNOWN
podman-cve20221227-priv-esc(225583)

Source: CCN
Type: Podman GIT Repository
podman top not work with userns=keep-id container #10941

Source: MISC
Type: Exploit, Issue Tracking, Third Party Advisory
https://github.com/containers/podman/issues/10941

Source: CCN
Type: psgo GIT Repository
internal: proc: do not join the process user namespace #92

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-5e637f6cc6

Source: CCN
Type: Mend Vulnerability Database
CVE-2022-1227

Vulnerable Configuration:Configuration 1:
  • cpe:/a:podman_project:podman:*:*:*:*:*:*:*:* (Version < 4.0.0)
  • OR cpe:/a:psgo_project:psgo:*:*:*:*:*:go:*:* (Version < 1.7.2)

  • Configuration 2:
  • cpe:/o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_power_little_endian:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_ibm_z_systems:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:developer_tools:1.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:quay:3.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_power_little_endian:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_tus:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_ibm_z_systems:8.6:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_aus:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:35:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/a:redhat:enterprise_linux:8:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/a:redhat:enterprise_linux:8::appstream:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:podman_project:podman:3.4.4:*:*:*:*:*:*:*
  • OR cpe:/a:psgo_project:psgo:1.7.1:*:*:*:*:go:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7862
    P
    podman-4.4.4-150500.1.4 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:699
    P
    Security update for podman (Important)
    2022-08-17
    oval:com.redhat.rhsa:def:20221762
    P
    RHSA-2022:1762: container-tools:rhel8 security, bug fix, and enhancement update (Important)
    2022-05-10
    oval:com.redhat.rhsa:def:20222143
    P
    RHSA-2022:2143: container-tools:3.0 security update (Important)
    2022-05-10
    BACK
    podman_project podman *
    psgo_project psgo *
    redhat enterprise linux workstation 7.0
    redhat enterprise linux 7.0
    redhat enterprise linux server 7.0
    redhat enterprise linux for power little endian 7.0
    redhat enterprise linux for ibm z systems 7.0
    redhat enterprise linux 8.0
    redhat developer tools 1.0
    redhat quay 3.0.0
    redhat openshift container platform 4.0
    redhat enterprise linux for power little endian 8.6
    redhat enterprise linux server tus 8.6
    redhat enterprise linux for ibm z systems 8.6
    redhat enterprise linux server update services for sap solutions 8.6
    redhat enterprise linux server for power little endian update services for sap solutions 8.6
    redhat enterprise linux server aus 8.6
    redhat enterprise linux eus 8.6
    fedoraproject fedora 34
    fedoraproject fedora 35
    podman_project podman 3.4.4
    psgo_project psgo 1.7.1