high7.5
CVE-2022-27649
Podman's default inheritable capabilities for linux container not empty
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/containers/podman/v4 | < 4.0.3 | 4.0.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Podman Project | Podman | before 4.0.3 |
| Redhat | Developer Tools | Version 1.0 |
| Redhat | Openshift Container Platform | Version 4.0 |
| Redhat | Enterprise Linux | Versions 8.0, 8.6 |
| Redhat | Enterprise Linux Eus | Versions 8.4, 8.6 |
| Redhat | Enterprise Linux For Ibm Z Systems | Versions 8.0, 8.6 |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | Versions 8.4, 8.6 |
| Redhat | Enterprise Linux For Power Little Endian | Version 8.0 |
| Redhat | Enterprise Linux For Power Little Endian Eus | Version 8.4 |
| Redhat | Enterprise Linux Server Aus | Versions 8.4, 8.6 |
| Redhat | Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions | Versions 8.4, 8.6 |
| Redhat | Enterprise Linux Server Tus | Versions 8.4, 8.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2066568
- https://github.com/containers/podman/commit/aafa80918a245edcbdaceb1191d749570f1872d0
- https://github.com/containers/podman/security/advisories/GHSA-qvf8-p83w-v58j
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4KDETHL5XCT6RZN2BBNOCEXRZ2W3SFU3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J5WPM42UR6XIBQNQPNQHM32X7S4LJTRX/
- https://github.com/advisories/GHSA-qvf8-p83w-v58j
- https://nvd.nist.gov/vuln/detail/CVE-2022-27649
- https://github.com/containers/podman/releases/tag/v4.0.3
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J5WPM42UR6XIBQNQPNQHM32X7S4LJTRX/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4KDETHL5XCT6RZN2BBNOCEXRZ2W3SFU3/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ/