p PatchFirst

PatchFirst · Latest vulnerabilities

golang-github-containers-buildah vulnerabilities

Vulnerabilities published for golang-github-containers-buildah in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 12

  1. CVE-2026-79705

    Medium · CVSS 4.5EPSS 0.41%No fix published

    Podman: buildah: buildah/copier: directory escape via crafted tar symlinks when used outside buildah by non-root callers

    A flaw was found in the buildah/copier Go package. When used outside of Buildah by a non-root caller, a crafted tar archive containing malicious symlinks can escape the target extraction directory and create files outside the intended destination. Buildah itself uses chroot hardening and is not affected.

    Published Updated
  2. CVE-2026-44517

    Medium · CVSS 6.3EPSS 0.18%No fix published

    Buildah: Build breakout using malicious Containerfile and Git Smart HTTP server or GitHub release tar archive

    Buildah is a tool that facilitates building OCI images. From 1.38.1 until 1.43.2 and 1.44.0, TempDirForURL in define/types.go does not securely confine Git repository subdirectories to the downloaded build context, and downloadToDirectory and stdinToDirectory can follow a Dockerfile symlink left by a partially extracted tar archive. A malicious server supplying a Git repository or tar archive can cause files outside the build context directory to be included in the context or copied into the build. This issue is fixed in versions 1.43.2 and 1.44.0.

    Published Updated
  3. CVE-2024-11218

    High · CVSS 8.6EPSS 0.36%Fix available

    Podman: buildah: container breakout by using --jobs=2 and a race condition when building a malicious containerfile

    A vulnerability was found in `podman build` and `buildah.` This issue occurs in a container breakout by using --jobs=2 and a race condition when building a malicious Containerfile. SELinux might mitigate it, but even with SELinux on, it still allows the enumeration of files and directories on the host.

    • Update to 1.38.1+ds1-1
    Published Updated
  4. CVE-2024-9675

    High · CVSS 7.8EPSS 0.39%Fix available

    Buildah: buildah allows arbitrary directory mount

    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.

    • Update to 1.37.4+ds1-1
    Published Updated
  5. CVE-2024-9407

    Medium · CVSS 4.7EPSS 0.29%Fix available

    Buildah: podman: improper input validation in bind-propagation option of dockerfile run --mount instruction

    A vulnerability exists in the bind-propagation option of the Dockerfile RUN --mount instruction. The system does not properly validate the input passed to this option, allowing users to pass arbitrary parameters to the mount instruction. This issue can be exploited to mount sensitive directories from the host into a container during the build process and, in some cases, modify the contents of those mounted files. Even if SELinux is used, this vulnerability can bypass its protection by allowing the source directory to be relabeled to give the container access to host files.

    • Update to 1.37.4+ds1-1
    Published Updated
  6. CVE-2024-1753

    High · CVSS 8.6EPSS 0.46%Fix available

    Buildah: buildah: container escape via improper bind mount validation

    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.

    • Update to 1.33.7+ds1-1
    Published Updated
  7. CVE-2022-2990

    High · CVSS 7.1EPSS 0.35%Fix available

    CVE-2022-2990

    An incorrect handling of the supplementary groups in the Buildah container engine might lead to the sensitive information disclosure or possible data modification if an attacker has direct access to the affected container where supplementary groups are used to set access permissions and is able to execute a binary code in that container.

    • Update to 1.28.0+ds1-2
    Published Updated
  8. CVE-2022-27651

    Medium · CVSS 6.8EPSS 1.26%Fix available

    CVE-2022-27651

    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.

    • Update to 1.28.0+ds1-2
    Published Updated
  9. CVE-2021-3602

    Medium · CVSS 5.5EPSS 0.32%Fix available

    CVE-2021-3602

    An information disclosure flaw was found in Buildah, when building containers using chroot isolation. Running processes in container builds (e.g. Dockerfile RUN commands) can access environment variables from parent and grandparent processes. When run in a container in a CI/CD environment, environment variables may include sensitive information that was shared with the container in order to be used only by Buildah itself (e.g. container registry credentials).

    • Update to 1.22.3+ds1-1
    Published Updated
  10. CVE-2020-10696

    High · CVSS 8.8EPSS 2.68%Fix available

    CVE-2020-10696

    A path traversal flaw was found in Buildah in versions before 1.14.5. This flaw allows an attacker to trick a user into building a malicious container image hosted on an HTTP(s) server and then write files to the user's system anywhere that the user has permissions.

    • Update to 1.11.6-2
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →