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

exploitDog

github логотип

GHSA-4mh8-9689-38vr

Опубликовано: 25 июл. 2024
Источник: github
Github: Прошло ревью
CVSS3: 6.3

Описание

snapd failed to restrict writes to the $HOME/bin path

In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd failed to restrict writes to the $HOME/bin path. In Ubuntu, when this path exists, it is automatically added to the users PATH. An attacker who could convince a user to install a malicious snap which used the 'home' plug could use this vulnerability to install arbitrary scripts into the users PATH which may then be run by the user outside of the expected snap sandbox and hence allow them to escape confinement.

Пакеты

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

github.com/snapcore/snapd

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

< 2.62

2.62

EPSS

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

6.3 Medium

CVSS3

Дефекты

CWE-732

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

CVSS3: 6.3
ubuntu
больше 1 года назад

In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd failed to restrict writes to the $HOME/bin path. In Ubuntu, when this path exists, it is automatically added to the users PATH. An attacker who could convince a user to install a malicious snap which used the 'home' plug could use this vulnerability to install arbitrary scripts into the users PATH which may then be run by the user outside of the expected snap sandbox and hence allow them to escape confinement.

CVSS3: 8.2
redhat
больше 1 года назад

In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd failed to restrict writes to the $HOME/bin path. In Ubuntu, when this path exists, it is automatically added to the users PATH. An attacker who could convince a user to install a malicious snap which used the 'home' plug could use this vulnerability to install arbitrary scripts into the users PATH which may then be run by the user outside of the expected snap sandbox and hence allow them to escape confinement.

CVSS3: 6.3
nvd
больше 1 года назад

In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd failed to restrict writes to the $HOME/bin path. In Ubuntu, when this path exists, it is automatically added to the users PATH. An attacker who could convince a user to install a malicious snap which used the 'home' plug could use this vulnerability to install arbitrary scripts into the users PATH which may then be run by the user outside of the expected snap sandbox and hence allow them to escape confinement.

CVSS3: 6.3
debian
больше 1 года назад

In snapd versions prior to 2.62, when using AppArmor for enforcement o ...

EPSS

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

6.3 Medium

CVSS3

Дефекты

CWE-732