Incorrect Default Permissions Affecting container-tools:rhel8/podman-remote package, versions <2:4.0.2-6.module_el8.6.0+2878+e681bc44


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.12% (48th 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-5608259
  • 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/podman-remote to version 2:4.0.2-6.module_el8.6.0+2878+e681bc44 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/podman-remote package and not the container-tools:rhel8/podman-remote 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