p PatchFirst

PatchFirst · Latest vulnerabilities

buildah vulnerabilities

Vulnerabilities published for buildah in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 15

  1. CVE-2025-52881

    High · CVSS 7.3EPSS 0.78%Fix available

    runc: LSM labels can be bypassed with malicious config using dummy procfs files

    runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7, 1.3.2 and 1.4.0-rc.2, an attacker can trick runc into misdirecting writes to /proc to other procfs files through the use of a racing container with shared mounts (we have also verified this attack is possible to exploit using a standard Dockerfile with docker buildx build as that also permits triggering parallel execution of containers with custom shared mounts configured). This redirect could be through symbolic links in a tmpfs or theoretically other methods such as regular bind-mounts. While similar, the mitigation applied for the

    • Update to 1.42.1-r0
    Published Updated
  2. 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-r0
    Published Updated
  3. CVE-2024-9676

    Medium · CVSS 6.5EPSS 1.32%Fix available

    Podman: buildah: cri-o: symlink traversal vulnerability in the containers/storage library can cause denial of service (dos)

    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.

    • Update to 1.37.5-r0
    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.5-r0
    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-r0
    Published Updated
  6. CVE-2024-9341

    Medium · CVSS 5.4EPSS 1.03%Fix available

    Podman: buildah: cri-o: fips crypto-policy directory mounting issue in containers/common go library

    A flaw was found in Go. When FIPS mode is enabled on a system, container runtimes may incorrectly handle certain file paths due to improper validation in the containers/common Go library. This flaw allows an attacker to exploit symbolic links and trick the system into mounting sensitive host directories inside a container. This issue also allows attackers to access critical host files, bypassing the intended isolation between containers and the host system.

    • Update to 1.37.4-r0
    Published Updated
  7. CVE-2024-3727

    High · CVSS 8.3EPSS 1.28%Fix available

    Containers/image: digest type does not guarantee valid type

    A flaw was found in the github.com/containers/image library. This flaw allows attackers to trigger unexpected authenticated registry accesses on behalf of a victim user, causing resource exhaustion, local path traversal, and other attacks.

    • Update to 1.35.4-r0
    Published Updated
  8. 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.35.4-r0
    Published Updated
  9. CVE-2024-28180

    Medium · CVSS 4.3EPSS 1.96%Fix available

    Go JOSE vulnerable to Improper Handling of Highly Compressed Data (Data Amplification)

    Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. An attacker could send a JWE containing compressed data that used large amounts of memory and CPU when decompressed by Decrypt or DecryptMulti. Those functions now return an error if the decompressed data would exceed 250kB or 10x the compressed size (whichever is larger). This vulnerability has been patched in versions 4.0.1, 3.0.3 and 2.6.3.

    • Update to 1.35.4-r0
    Published Updated
  10. CVE-2024-24786

    High · CVSS 7.5EPSS 1.26%Fix available

    Infinite loop in JSON unmarshaling in google.golang.org/protobuf

    The protojson.Unmarshal function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a google.protobuf.Any value, or when the UnmarshalOptions.DiscardUnknown option is set.

    • Update to 1.35.4-r0
    Published Updated
  11. CVE-2023-48795

    Medium · CVSS 5.9EPSS 93.55%Public exploitFix available

    CVE-2023-48795

    The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and server may consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions, mishandles the handshake phase and mishandles use of sequence numbers. For example, there is an effective attack against SSH's use of ChaCha20-Poly1305 (and CBC with E

    • Update to 1.34.0-r1
    Published Updated
  12. 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-r0
    Published Updated
  13. 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.21.3-r0
    Published Updated
  14. CVE-2021-20206

    High · CVSS 7.2EPSS 1.52%Fix available

    CVE-2021-20206

    An improper limitation of path name flaw was found in containernetworking/cni in versions before 0.8.1. When specifying the plugin to load in the 'type' field in the network configuration, it is possible to use special elements such as "../" separators to reference binaries elsewhere on the system. This flaw allows an attacker to execute other existing binaries other than the cni plugins/types, such as 'reboot'. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

    • Update to 1.19.4-r0
    Published Updated

Check your server

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

Check your server →