Описание
A flaw was found in bubblewrap. During sandbox setup, creating files or directories under the new root can follow a parent symlink onto the host via /oldroot, writing attacker-chosen paths outside the sandbox as the launching user. This happens before the sandboxed process starts. This issue is GHSA-pxhw-h44j-8pfx. It is fixed in bubblewrap 0.12.0.
Отчет
This flaw in bubblewrap is rated as Important because it allows a local attacker to write files outside of a sandbox on the host system. This occurs during the initial setup phase, before any sandboxed process begins, by exploiting symlink traversal when processing untrusted application images, such as those used by Flatpak. While the created files are written with the privileges of the user launching bubblewrap, this can lead to unintended file creation on the host filesystem.
Меры по смягчению последствий
Do not create files on untrusted content with unpatched bwrap. Do not install untrusted Flatpaks. No upstream fix for older setuid builds.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | bubblewrap | Affected | ||
| Red Hat Enterprise Linux 8 | bubblewrap | Affected | ||
| Red Hat Enterprise Linux 9 | bubblewrap | Affected | ||
| Red Hat Hardened Images | bubblewrap | Not affected |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
8.8 High
CVSS3
Связанные уязвимости
A flaw was found in bubblewrap. During sandbox setup, creating files or directories under the new root can follow a parent symlink onto the host via /oldroot, writing attacker-chosen paths outside the sandbox as the launching user. This happens before the sandboxed process starts. This issue is GHSA-pxhw-h44j-8pfx. It is fixed in bubblewrap 0.12.0.
A flaw was found in bubblewrap. During sandbox setup, creating files o ...
8.8 High
CVSS3