Improper Preservation of Permissions Affecting openshift package, versions *


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.5% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-OPENSHIFT-5250167
  • published26 Mar 2023
  • disclosed5 Jan 2022

Introduced: 5 Jan 2022

CVE-2021-43816  (opens in a new tab)
CWE-281  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 openshift.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openshift package and not the openshift package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

containerd is an open source container runtime. On installations using SELinux, such as EL8 (CentOS, RHEL), Fedora, or SUSE MicroOS, with containerd since v1.5.0-beta.0 as the backing container runtime interface (CRI), an unprivileged pod scheduled to the node may bind mount, via hostPath volume, any privileged, regular file on disk for complete read/write access (sans delete). Such is achieved by placing the in-container location of the hostPath volume mount at either /etc/hosts, /etc/hostname, or /etc/resolv.conf. These locations are being relabeled indiscriminately to match the container process-label which effectively elevates permissions for savvy containers that would not normally be able to access privileged host files. This issue has been resolved in version 1.5.9. Users are advised to upgrade as soon as possible.

CVSS Scores

version 3.1