cri-o: Default inheritable capabilities for linux container should be empty
Published Apr 18, 2022
5.3
MEDIUMCVSS 3.1
EPSS 0.24%
Description
A flaw was found in cri-o, where containers were incorrectly started with non-empty default permissions. A vulnerability was found in Moby (Docker Engine) where containers 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 products
- Vendor n/a Product Cri-O Defaultn/a
- Version Affects all versions.StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Cri-O | n/a |
|
Configuration 1
- n/a
Configuration 2
- 35
Configuration 3
- < 20.10.14
Configuration 4
- 3.11
- 4.0
No data.
Red Hat OpenShift Container Platform 4.10
cri-o-0:1.23.2-8.rhaos4.10.git8ad5d25.el8
Fixed · RHSA-2022:1600
Red Hat OpenShift Container Platform 4.9
cri-o-0:1.22.5-7.rhaos4.9.git3dbcd3c.el7
Fixed · RHBA-2022:5433
Red Hat OpenShift Container Platform 3.11
cri-o
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift Container Platform 4.10 | cri-o-0:1.23.2-8.rhaos4.10.git8ad5d25.el8 | Fixed | RHSA-2022:1600 |
| Red Hat OpenShift Container Platform 4.9 | cri-o-0:1.22.5-7.rhaos4.9.git3dbcd3c.el7 | Fixed | RHBA-2022:5433 |
| Red Hat OpenShift Container Platform 3.11 | cri-o | Out of support scope | n/a |
github.com/cri-o/cri-o
Go
Introduced 0 Fixed 1.24.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/cri-o/cri-o | 0 | 1.24.0 |
Remediation
Red Hat statement
This issue is related to the general vulnerability found in Moby (Docker Engine), which has been assigned CVE-2022-24769. After further investigation we came to the conclusion that this CVE has a very minimal impact on Red Hat OpenShift Container Platform.
Red Hat mitigation
The entry point of a container can be modified to use a utility like capsh(1) to drop inheritable capabilities prior to the primary process starting.
References (7)
- https://access.redhat.com/security/cve/CVE-2022-27652 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2066839 x_refsource_MISCIssue TrackingThird Party Advisory
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1621 Advisory
- https://github.com/advisories/GHSA-4hj2-r2pm-3hc6 Advisory
- https://github.com/cri-o/cri-o/security/advisories/GHSA-4hj2-r2pm-3hc6 x_refsource_MISCMitigationThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-27652
- https://www.cve.org/CVERecord?id=CVE-2022-27652
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-27652 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2066839 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1621 | Advisory | |
| https://github.com/advisories/GHSA-4hj2-r2pm-3hc6 | Advisory | |
| https://github.com/cri-o/cri-o/security/advisories/GHSA-4hj2-r2pm-3hc6 | x_refsource_MISCMitigationThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-27652 | ||
| https://www.cve.org/CVERecord?id=CVE-2022-27652 |
Change history (0)
No recorded changes yet.