CVE-2022-27649
JSON

7.5high

Podman's default inheritable capabilities for linux container not empty

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
1.43% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-qvf8-p83w-v58jGO-2022-0416

Description

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.

Affected

Product or packageVersionsReported by
podmanAffects all versions before v4.0.3, Fixed in - v4.0.3CVE List
github.com/containers/podman/v4 (Go)before 4.0.3GitHub Advisory Database, Go Vulnerability Database
github.com/containers/podman (Go)all versionsGo Vulnerability Database
github.com/containers/podman/v2 (Go)all versionsGo Vulnerability Database
github.com/containers/podman/v3 (Go)all versionsGo Vulnerability Database
podman_project podmanbefore 4.0.3NVD
redhat developer_tools1.0NVD
redhat openshift_container_platform4.0NVD
redhat enterprise_linux8.0, 8.6NVD
redhat enterprise_linux_eus8.4, 8.6NVD
redhat enterprise_linux_for_ibm_z_systems8.0, 8.6NVD
redhat enterprise_linux_for_ibm_z_systems_eus8.4, 8.6NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.0medium CVSS:2.0AV:N/AC:M/Au:S/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database

A bug was found in Podman where containers were created with non-empty inheritable Linux process capabilities, creating an atypical Linux environment and enabling programs with inheritable file capabilities to elevate those capabilities to the permitted set during execve(2).

This bug did not affect the container security sandbox as the inheritable set never contained more capabilities than were included in the container's bounding set.

Go Vulnerability Database

Podman's default inheritable capabilities for linux container not empty in github.com/containers/podman

NVD (es)

Se ha encontrado un fallo en Podman, donde los contenedores eran iniciados incorrectamente con permisos por defecto no vacíos. Se ha encontrado una vulnerabilidad en Moby (Docker Engine), donde los contenedores eran iniciados incorrectamente con capacidades de proceso Linux heredables no vacías. Este fallo permite a un atacante con acceso a programas con capacidades de archivo heredables elevar esas capacidades al conjunto permitido cuando es ejecutado execve(2)

References

https://bugzilla.redhat.com/show_bug.cgi?id=2066568issue-tracking, third-party-advisory, web
https://github.com/containers/podman/security/advisories/GHSA-qvf8-p83w-v58jadvisory, third-party-advisory, web
https://github.com/containers/podman/commit/aafa80918a245edcbdaceb1191d749570f1872d0fix, patch, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J5WPM42UR6XIBQNQPNQHM32X7S4LJTRX/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4KDETHL5XCT6RZN2BBNOCEXRZ2W3SFU3/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ/vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2022-27649advisory
https://github.com/containers/podmanpackage
https://github.com/containers/podman/releases/tag/v4.0.3web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4KDETHL5XCT6RZN2BBNOCEXRZ2W3SFU3web
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J5WPM42UR6XIBQNQPNQHM32X7S4LJTRXweb

Sources

SourceRecordLicence
CVE ListCVE-2022-27649 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-qvf8-p83w-v58j changed 2026-07-08CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0416 changed 2026-03-03CC-BY-4.0
NVDCVE-2022-27649 changed 2026-06-17Public domain