Link Following Affecting buildah-tests package, versions <1:1.31.5-1.el9_3


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (16th 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-ALMALINUX9-BUILDAHTESTS-6728321
  • published29 Apr 2024
  • disclosed25 Apr 2024

Introduced: 25 Apr 2024

CVE-2024-1753  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 buildah-tests to version 1:1.31.5-1.el9_3 or higher.
This issue was patched in ALSA-2024:2055.

NVD Description

Note: Versions mentioned in the description apply only to the upstream buildah-tests package and not the buildah-tests package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

A flaw was found in Buildah (and subsequently Podman Build) which allows containers to mount arbitrary locations on the host filesystem into build containers. A malicious Containerfile can use a dummy image with a symbolic link to the root filesystem as a mount source and cause the mount operation to mount the host root filesystem inside the RUN step. The commands inside the RUN step will then have read-write access to the host filesystem, allowing for full container escape at build time.

References

CVSS Scores

version 3.1