Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-56mx-8g9f-5crf

Опубликовано: 13 нояб. 2025
Источник: github
Github: Прошло ревью
CVSS4: 8.6

Описание

Incus vulnerable to local privilege escalation through custom storage volumes

Impact

This affects any Incus user in an environment where an unprivileged user may have root access to a container with an attached custom storage volume that has the security.shifted property set to true as well as access to the host as an unprivileged user.

The most common case for this would be systems using incus-user with the less privileged incus group to provide unprivileged users with an isolated restricted access to Incus. Such users may be able to create a custom storage volume with the necessary property (depending on kernel and filesystem support) and can then write a setuid binary from within the container which can be executed as an unpriivleged user on the host to gain root privileges.

Patches

A patch for this issue is available here: https://github.com/lxc/incus/pull/2642

The first commit changes the permissions for any new storage pool, the second commit applies it on startup to all existing storage pools.

Workarounds

Permissions can be manually restricted until a patched version of Incus is deployed.

This is done with:

chmod 0700 /var/lib/incus/storage-pools/*/* chmod 0711 /var/lib/incus/storage-pools/*/buckets* chmod 0711 /var/lib/incus/storage-pools/*/container*

Those are the same permissions which will be applied by the patched Incus for both new and existing storage pools.

References

This was reported publicly on Github: https://github.com/lxc/incus/issues/2641

Пакеты

Наименование

github.com/lxc/incus/v6

go
Затронутые версииВерсия исправления

>= 6.1.0, <= 6.18.0

Отсутствует

Наименование

github.com/lxc/incus/v6

go
Затронутые версииВерсия исправления

<= 6.0.6

Отсутствует

Наименование

github.com/lxc/incus

go
Затронутые версииВерсия исправления

<= 0.7.0

Отсутствует

EPSS

Процентиль: 6%
0.00025
Низкий

8.6 High

CVSS4

Дефекты

CWE-269

Связанные уязвимости

CVSS3: 7.8
ubuntu
2 месяца назад

Incus is a system container and virtual machine manager. An issue in versions prior to 6.0.6 and 6.19.0 affects any Incus user in an environment where an unprivileged user may have root access to a container with an attached custom storage volume that has the `security.shifted` property set to `true` as well as access to the host as an unprivileged user. The most common case for this would be systems using `incus-user` with the less privileged `incus` group to provide unprivileged users with an isolated restricted access to Incus. Such users may be able to create a custom storage volume with the necessary property (depending on kernel and filesystem support) and can then write a setuid binary from within the container which can be executed as an unprivileged user on the host to gain root privileges. A patch for this issue is expected in versions 6.0.6 and 6.19.0. As a workaround, permissions can be manually restricted until a patched version of Incus is deployed.

CVSS3: 7.8
nvd
2 месяца назад

Incus is a system container and virtual machine manager. An issue in versions prior to 6.0.6 and 6.19.0 affects any Incus user in an environment where an unprivileged user may have root access to a container with an attached custom storage volume that has the `security.shifted` property set to `true` as well as access to the host as an unprivileged user. The most common case for this would be systems using `incus-user` with the less privileged `incus` group to provide unprivileged users with an isolated restricted access to Incus. Such users may be able to create a custom storage volume with the necessary property (depending on kernel and filesystem support) and can then write a setuid binary from within the container which can be executed as an unprivileged user on the host to gain root privileges. A patch for this issue is expected in versions 6.0.6 and 6.19.0. As a workaround, permissions can be manually restricted until a patched version of Incus is deployed.

CVSS3: 7.8
debian
2 месяца назад

Incus is a system container and virtual machine manager. An issue in v ...

CVSS3: 8.4
fstec
2 месяца назад

Уязвимость системы управления контейнерами и менеджера виртуальных машин Incus, связанная с небезопасным управлением привилегиями, позволяющая нарушителю повысить свои привилегии

CVSS3: 8.4
redos
около 1 месяца назад

Уязвимость incus

EPSS

Процентиль: 6%
0.00025
Низкий

8.6 High

CVSS4

Дефекты

CWE-269