Incorrect Default Permissions Affecting container-tools:rhel8/skopeo package, versions <2:1.6.1-2.module_el8.6.0+2877+8e437bf5


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.13% (51st 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 Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-CONTAINERTOOLS-5608234
  • published28 May 2023
  • disclosed26 Apr 2022

Introduced: 26 Apr 2022

CVE-2022-27651  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 container-tools:rhel8/skopeo to version 2:1.6.1-2.module_el8.6.0+2877+8e437bf5 or higher.
This issue was patched in ALSA-2022:1762.

NVD Description

Note: Versions mentioned in the description apply only to the upstream container-tools:rhel8/skopeo package and not the container-tools:rhel8/skopeo package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

A flaw was found in buildah where containers were incorrectly started with non-empty default permissions. A bug was found in Moby (Docker Engine) where containers were incorrectly started with non-empty inheritable Linux process capabilities, enabling an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs. This has the potential to impact confidentiality and integrity.

CVSS Scores

version 3.1