Incorrect Default Permissions Affecting buildah package, versions <1:1.24.2-4.module+el8.6.0+20656+53f7e955


Severity

Recommended
high

Based on Oracle Linux 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-ORACLE8-BUILDAH-2805694
  • published29 Apr 2022
  • disclosed4 Apr 2022

Introduced: 4 Apr 2022

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

How to fix?

Upgrade Oracle:8 buildah to version 1:1.24.2-4.module+el8.6.0+20656+53f7e955 or higher.
This issue was patched in ELSA-2022-1762.

NVD Description

Note: Versions mentioned in the description apply only to the upstream buildah package and not the buildah package as distributed by Oracle. See How to fix? for Oracle: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