Directory Traversal Affecting podman-docker package, versions <3:4.4.1-31.rhaos4.15.el8


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.11% (46th 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 Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-PODMANDOCKER-8318230
  • published31 Oct 2024
  • disclosed15 Oct 2024

Introduced: 15 Oct 2024

CVE-2024-9676  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:8 podman-docker to version 3:4.4.1-31.rhaos4.15.el8 or higher.
This issue was patched in RHSA-2024:8428.

NVD Description

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

A vulnerability was found in Podman, Buildah, and CRI-O. A symlink traversal vulnerability in the containers/storage library can cause Podman, Buildah, and CRI-O to hang and result in a denial of service via OOM kill when running a malicious image using an automatically assigned user namespace (--userns=auto in Podman and Buildah). The containers/storage library will read /etc/passwd inside the container, but does not properly validate if that file is a symlink, which can be used to cause the library to read an arbitrary file on the host.

CVSS Scores

version 3.1