Directory Traversal Affecting container-selinux package, versions <2:2.229.0-2.module+el8.10.0+22397+e3c95ba6


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.04% (13th 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-CENTOS8-CONTAINERSELINUX-8864242
  • published28 Feb 2025
  • disclosed9 Oct 2024

Introduced: 9 Oct 2024

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

How to fix?

Upgrade Centos:8 container-selinux to version 2:2.229.0-2.module+el8.10.0+22397+e3c95ba6 or higher.

NVD Description

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

A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a RUN instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.

CVSS Scores

version 3.1