Vulnerability Name:

CVE-2022-27649 (CCN-223421)

Assigned:2022-03-30
Published:2022-03-30
Updated:2022-07-22
Summary:A flaw was found in Podman, where containers were started incorrectly with non-empty default permissions. A vulnerability was found in Moby (Docker Engine), where containers were started incorrectly with non-empty inheritable Linux process capabilities. This flaw allows an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
7.7 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
5.0 Medium (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L)
4.4 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.0 Medium (CVSS v2 Vector: AV:N/AC:M/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): Single_Instance
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-276
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2022-27649

Source: CCN
Type: Red Hat Bugzilla - Bug 2066568
(CVE-2022-27649) - CVE-2022-27649 podman: Default inheritable capabilities for linux container should be empty

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

Source: XF
Type: UNKNOWN
podman-cve202227649-priv-esc(223421)

Source: CCN
Type: podman GIT Repository
do not set the inheritable capabilities

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/containers/podman/commit/aafa80918a245edcbdaceb1191d749570f1872d0

Source: MISC
Type: Third Party Advisory
https://github.com/containers/podman/security/advisories/GHSA-qvf8-p83w-v58j

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2022-2067702f06

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

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

Vulnerable Configuration:Configuration 1:
  • cpe:/a:podman_project:podman:*:*:*:*:*:*:*:* (Version < 4.0.3)

  • Configuration 2:
  • cpe:/o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:developer_tools:1.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_tus:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_aus:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_ibm_z_systems_eus:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_power_little_endian_eus:8.4:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:8.4:*:*:*:*:*:*:*
  • 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_update_services_for_sap_solutions:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_ibm_z_systems:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_for_ibm_z_systems_eus:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_aus:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server_tus:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:8.6:*:*:*:*:*:*:*

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

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

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

  • * 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:51990
    P
    Security update for podman (Important)
    2023-01-27
    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:20221565
    P
    RHSA-2022:1565: container-tools:3.0 security and bug fix update (Moderate)
    2022-04-26
    oval:com.redhat.rhsa:def:20221566
    P
    RHSA-2022:1566: container-tools:2.0 security update (Moderate)
    2022-04-26
    BACK
    podman_project podman *
    redhat enterprise linux 8.0
    redhat developer tools 1.0
    redhat openshift container platform 4.0
    redhat enterprise linux server tus 8.4
    redhat enterprise linux eus 8.4
    redhat enterprise linux server aus 8.4
    redhat enterprise linux server update services for sap solutions 8.4
    redhat enterprise linux for power little endian 8.0
    redhat enterprise linux for ibm z systems eus 8.4
    redhat enterprise linux for ibm z systems 8.0
    redhat enterprise linux for power little endian eus 8.4
    redhat enterprise linux server for power little endian update services for sap solutions 8.4
    redhat enterprise linux server for power little endian update services for sap solutions 8.6
    redhat enterprise linux server update services for sap solutions 8.6
    redhat enterprise linux for ibm z systems 8.6
    redhat enterprise linux for ibm z systems eus 8.6
    redhat enterprise linux server aus 8.6
    redhat enterprise linux server tus 8.6
    redhat enterprise linux eus 8.6
    redhat enterprise linux 8.6
    fedoraproject fedora 34
    fedoraproject fedora 35
    fedoraproject fedora 36