Skip to content
OpenAdvisories

Package · Go

github.com/canonical/lxd

25 known vulnerabilities.

9 results · Clear filters · Feed

  • Critical 9.9

    LXD has restricted project bypass leading to arbitrary command execution

    Reported from https://github.com/lxc/incus/security/advisories/GHSA-48q5-w887-33wv ### Summary Instance snapshots ignore the `restricted.containers.lowlevel=block` setting; allowing for arbitrary command execution on the Incus server by abusing lowlevel hooks…

  • Critical 9.9

    LXD has arbitrary file write on client due to trusted image hash

    Reported from https://github.com/lxc/incus/security/advisories/GHSA-f6m5-xw2g-xc4x ### Summary An arbitrary file write exists in the Incus client when a malicious image server returns a crafted `Incus-Image-Hash` header. This can lead to arbitrary command exe…

  • Critical 9.9

    LXD has argument injection in backup compression algorithm leading to AFW and ACE

    Reported from https://github.com/lxc/incus/security/advisories/GHSA-v6mj-8pf4-hhw4 ### Summary Improper validation of user-provided backup compression algorithm leads to argument injection in the constructed command line. This leads to an arbitrary file write…

  • Critical 9.9

    LXD has arbitrary file read+write on host via rootfs/ symlink in malicious image

    Reported from https://github.com/lxc/incus/security/advisories/GHSA-2q3f-q5pq-g8wv ### Summary A specially crafted image can be used to read or create/write arbitrary files on the host; possibly leading to arbitrary command execution. ### Details Incus valida…

  • Critical 9.9

    LXD has arbitrary file read+write on host via templates/ symlink in malicious image

    Reported from https://github.com/lxc/incus/security/advisories/GHSA-vxp5-584q-c479 ### Summary A specially crafted image can be used to read or create/write arbitrary files on the host; possibly leading to arbitrary command execution. ### Details For containe…

  • Critical 9.9

    LXD has arbitrary file write on host via `exec-output` symlink in crafted image

    Reported from https://github.com/lxc/incus/security/advisories/GHSA-48q5-w887-33wv ### Summary The `record-output` parameter of the `/instances/$name/exec` endpoint stores the output of the command in the `exec-output` directory of the instance. If `exec-outp…

  • Critical 9.1

    Update of type field in restricted TLS certificate allows privilege escalation to cluster admin

    In Canonical LXD versions 4.12 through 6.7, the doCertificateUpdate function in lxd/certificates.go does not validate the Type field when handling PUT/PATCH requests to /1.0/certificates/{fingerprint} for restricted TLS certificate users, allowing a remote au…

  • Critical 9.1

    Importing a crafted backup leads to project restriction bypass

    In Canonical LXD before 6.8, the backup import path validates project restrictions against backup/index.yaml in the supplied tar archive but creates the instance from backup/container/backup.yaml, a separate file in the same archive that is never checked agai…

  • Critical 9.1

    VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf

    Canonical LXD versions 4.12 through 6.7 contain an incomplete denylist in isVMLowLevelOptionForbidden (lxd/project/limits/permissions.go), which omits raw.apparmor and raw.qemu.conf from the set of keys blocked under the restricted.virtual-machines.lowlevel=b…