Skip to content
OpenAdvisories

Package · Alpine

crun

7 known vulnerabilities.

7 results · Feed

  • Medium 5.6

    Crun: crun: /dev/null symlink follow during stdio reopen allows host bind-mount write and chown

    A flaw was found in crun. After pivot_root, reopening /dev/null for stdio can follow a symlink and attach a host file to container stdio, then change that file's ownership. Affected versions are crun 1.29.1 and earlier. Default configurations that mount a fre…

  • Medium 5.6

    Crun: crun: /dev/console symlink follow allows root-owned file creation outside the rootfs

    A flaw was found in crun. When the container configuration does not give /dev a dedicated mount, terminal setup can redirect /dev/console onto an attacker-controlled path, including via the read-only-rootfs bind-mount fallback. Affected versions are crun 1.29…

  • High 7.8

    Crun: crun: rootful krun with passt executes container payload as host root

    A flaw was found in crun. When crun is built with libkrun and a container is started rootful with passt networking (krun.use_passt), crun can execute attacker-controlled payload from the container image with host root privileges. The issue is a regression in …

  • Medium 5.1

    crun follows rootfs /dev symlink while creating default devices

    crun is an open source OCI Container Runtime fully written in C. Prior to version 1.28, crun's default device setup opens the container rootfs `/dev` directory without `O_NOFOLLOW`. If an OCI bundle contains `rootfs/dev` as a symlink and the bundle configurat…

  • None 0.0

    Crun incorrectly parses `crun exec` option `-u`, leading to privilege escalation

    crun is an open source OCI Container Runtime fully written in C. In versions 1.19 through 1.26, the `crun exec` option `-u` (`--user`) is incorrectly parsed. The value `1` is interpreted as UID 0 and GID 0 when it should have been UID 1 and GID 0. The process…

  • High 8.5

    .krun_config.json symlink attack creates or overwrites file on the host in crun

    crun is an open source OCI Container Runtime fully written in C. In affected versions A malicious container image could trick the krun handler into escaping the root filesystem, allowing file creation or modification on the host. No special permissions are ne…

  • Unscored —

    A flaw was found in crun where containers were incorrectly started with non-empty default permissions. A vulnerability …