Directory Traversal Affecting container-selinux package, versions <2:2.229.0-2.module+el8.10.0+1815+5fe7415e


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.39% (31st 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 IDSNYK-ROCKY8-CONTAINERSELINUX-8362483
  • published9 Nov 2024
  • 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 Rocky-Linux:8 container-selinux to version 2:2.229.0-2.module+el8.10.0+1815+5fe7415e or higher.
This issue was patched in RLSA-2024:8846.

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 Rocky-Linux. See How to fix? for Rocky-Linux: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 Base Scores

version 3.1