{"id":165172,"date":"2026-03-18T17:12:13","date_gmt":"2026-03-18T15:12:13","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/uyazvimosti-v-snapd-i-rust-soreutils-pozvolyayushhie-poluchit-root-privilegii-v-ubuntu"},"modified":"2026-03-18T17:12:13","modified_gmt":"2026-03-18T15:12:13","slug":"uyazvimosti-v-snapd-i-rust-soreutils-pozvolyayushhie-poluchit-root-privilegii-v-ubuntu","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimosti-v-snapd-i-rust-soreutils-pozvolyayushhie-poluchit-root-privilegii-v-ubuntu","title":{"rendered":"A snapd \u00e9s a Rust Coreutils sebezhet\u0151s\u00e9gei, amelyek lehet\u0151v\u00e9 teszik a root jogosults\u00e1gok megszerz\u00e9s\u00e9t az Ubuntu rendszeren","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>A Qualys company has identified a vulnerability (CVE-2026-3888) in the operation of the snap-confine and systemd-tmpfiles interaction in Ubuntu, allowing an unprivileged user to gain root access to the system. The issue is present in Ubuntu with the default configuration starting from release 24.04. In Ubuntu 16.04-22.04, the vulnerability can be exploited in non-standard configurations that mimic the behavior of newer versions of the distribution. A fix is available in yesterday's update of the snapd package in Ubuntu. The issue has been resolved in snapd version 2.75.       <\/p>\n<p>The vulnerability arises from incorrect interaction between the snap-confine and systemd-tmpfiles utilities, which are executed with elevated privileges. The snap-confine utility creates a sandbox environment for running the snap application, while systemd-tmpfiles performs automatic cleanup of temporary files and directories. By default, systemd-tmpfiles is configured to remove all old files and directories in \/tmp, which can be exploited by an attacker to replace the \/tmp\/.snap directory after its deletion by systemd-tmpfiles, but before it is recreated by snap-confine.    <\/p>\n<p>A t\u00e1mad\u00e1s l\u00e9nyege, hogy a folyamatot v\u00e1rakoztatva indul el a ideiglenes f\u00e1jlok tiszt\u00edt\u00e1s\u00e1ra, a \/tmp\/.snap k\u00f6nyvt\u00e1r \u00e1t\u00edr\u00e1s\u00e1val a t\u00f6rl\u00e9s ut\u00e1n, \u00e9s a m\u00f3dos\u00edtott m\u00e1solatok elhelyez\u00e9s\u00e9vel a \/tmp\/.snap\/usr\/lib\/x86_64-linux-gnu.exchange k\u00f6nyvt\u00e1rban. A t\u00e1mad\u00f3nak t\u00f6bb nap v\u00e1rakoz\u00e1sra lehet sz\u00fcks\u00e9ge a systemd-tmpfiles ind\u00edt\u00e1s\u00e1hoz, mivel az Ubuntu 24.04 eset\u00e9n a tiszt\u00edt\u00e1si folyamat 10 naponta, m\u00edg az \u00fajabb kiad\u00e1sokban 30 naponta indul el. A k\u00f6nyvt\u00e1r \u00e1t\u00edr\u00e1s\u00e1t k\u00f6vet\u0151en a t\u00e1mad\u00f3 \u00faj sandbox-k\u00f6rnyezetet inicializ\u00e1l a snap-confine seg\u00edts\u00e9g\u00e9vel.     <\/p>\n<p>During the preparation of the sandbox environment in the temporary directory \/tmp\/.snap, the attacker waits for the right moment and renames \/tmp\/.snap\/usr\/lib\/x86_64-linux-gnu.exchange to \/tmp\/.snap\/usr\/lib\/x86_64-linux-gnu, thus replacing the libraries and ensuring their bind mount with root privileges. In this way, the attacker gains control over the shared libraries and the loader ld.so used in the snap sandbox environment, and can execute arbitrary code with root privileges by launching any SUID program that utilizes dynamic linking.    <\/p>\n<p>Root-hozz\u00e1f\u00e9r\u00e9ssel a sandbox-k\u00f6rnyezetben, amely az AppArmor seg\u00edts\u00e9g\u00e9vel van elszigetelve \u00e9s a seccomp alap\u00fa rendszerh\u00edv\u00e1s-sz\u0171r\u0151n kereszt\u00fcl, a t\u00e1mad\u00f3 lem\u00e1solhatja a \/bin\/bash-t a \/var\/snap\/$SNAP\/common\/ k\u00f6nyvt\u00e1rba, \u00e9s be\u00e1ll\u00edthatja a '04755' (suid root) jogokat. Annak ellen\u00e9re, hogy a jogok a sandbox-k\u00f6rnyezeten bel\u00fcl m\u00f3dosultak, a m\u00f3dos\u00edtott jogokkal rendelkez\u0151 f\u00e1jl az alap rendszeren is el\u00e9rhet\u0151, ez\u00e9rt a teljes root hozz\u00e1f\u00e9r\u00e9shez elegend\u0151, ha egy nem privil\u00e9giz\u00e1lt felhaszn\u00e1l\u00f3 a \/var\/snap\/\/common\/bash-t futtatja a norm\u00e1l rendszerk\u00f6rnyezetb\u0151l.            <\/p>\n<p>At the same time, a vulnerability was discovered in the uutils coreutils (Rust Coreutils) toolkit, an analogue of the GNU Coreutils package written in Rust. The vulnerability allows an unprivileged user to gain root rights in the system. The issue was identified during the review of changes in Ubuntu 25.10 and was mitigated in a workaround prior to the release of Ubuntu 25.10 by providing \/usr\/bin\/gnurm instead of uutils rm. In the uutils package, the problem was fixed in the uutils coreutils 0.3.0 release, without a mention in the changelog regarding the vulnerability fix (it was noted that a safe method for bypassing paths was implemented in rm, du, chmod, and chgrp).      <\/p>\n<p>A probl\u00e9ma egy versenyhelyzetb\u0151l ad\u00f3dik a 'rm' parancsban, amely lehet\u0151v\u00e9 teszi a helyi felhaszn\u00e1l\u00f3 sz\u00e1m\u00e1ra, hogy a folyamat v\u00e9grehajt\u00e1sakor a 'rm' parancs \u00e1ltal kezelt f\u00e1jl tartalm\u00e1t egy szimbolikus linkre cser\u00e9lje, mik\u00f6zben az adott f\u00e1jl t\u00f6rl\u00e9se root jogokkal t\u00f6rt\u00e9nik. Egyebek k\u00f6z\u00f6tt a sebezhet\u0151s\u00e9g napi ciklusban kihaszn\u00e1lhat\u00f3 a cron-b\u00f3l val\u00f3 futtat\u00e1s sor\u00e1n, amely az \/etc\/cron.daily\/apport alatt tal\u00e1lhat\u00f3, root jogokkal fut, \u00e9s rekurz\u00edvan t\u00f6rli a \/var\/crash k\u00f6nyvt\u00e1r tartalm\u00e1t, amely minden felhaszn\u00e1l\u00f3 sz\u00e1m\u00e1ra \u00edrhat\u00f3 a rendszerben.    <\/p>\n<p>When recursively deleting directories, the rm utility first checks all directories and then sequentially removes them in reverse order by calling the rmdir() function. If a parent directory is replaced with a symbolic link immediately after checking that directory, but before checking its nested child directories, the operation will lead to the deletion of the directory pointed to by the symbolic link. This can not only result in the deletion of any file in the system but also privileges escalation via the deletion of the directory \/tmp\/snap-private-tmp\/$SNAP\/tmp\/.snap to replace the contents of the sandbox environment of the snap package (the method of gaining root privileges is similar to the first vulnerability).<br \/>\n<br \/>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=65014\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Qualys \u0432\u044b\u044f\u0432\u0438\u043b\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2026-3888) \u0432 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0432\u044f\u0437\u043a\u0438 snap-confine \u0438 systemd-tmpfiles \u0432 Ubuntu, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0443\u044e \u043d\u0435\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c root-\u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043f\u0440\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 Ubuntu \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u044b\u043f\u0443\u0441\u043a\u0430 24.04. \u0412 Ubuntu 16.04-22.04 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432 \u043d\u0435\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0445, \u0438\u043c\u0438\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0445 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0431\u043e\u043b\u0435\u0435 \u043d\u043e\u0432\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430. \u0412 Ubuntu \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0432\u043e \u0432\u0447\u0435\u0440\u0430\u0448\u043d\u0435\u043c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-165172","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Qualys \u0432\u044b\u044f\u0432\u0438\u043b\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2026-3888) \u0432 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0432\u044f\u0437\u043a\u0438 snap-confine \u0438 systemd-tmpfiles \u0432 Ubuntu, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0443\u044e \u043d\u0435\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c root-\u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0435.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Erik Peterson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimosti-v-snapd-i-rust-soreutils-pozvolyayushhie-poluchit-root-privilegii-v-ubuntu\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0423\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 snapd \u0438 Rust \u0421oreutils, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c root-\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 \u0432 Ubuntu | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Qualys \u0432\u044b\u044f\u0432\u0438\u043b\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2026-3888) \u0432 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0432\u044f\u0437\u043a\u0438 snap-confine \u0438 systemd-tmpfiles \u0432 Ubuntu, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0443\u044e \u043d\u0435\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c root-\u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0435.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimosti-v-snapd-i-rust-soreutils-pozvolyayushhie-poluchit-root-privilegii-v-ubuntu\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-03-18T15:12:13+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-03-18T15:12:13+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Sebezhet\u0151s\u00e9gek a snapd \u00e9s Rust Coreutils ter\u00fclet\u00e9n, amelyek root-jogosults\u00e1gok megszerz\u00e9s\u00e9re adnak lehet\u0151s\u00e9get az Ubuntu rendszerben | ProHoster","description":"A Qualys c\u00e9g felfedezte a (CVE-2026-3888) sebezhet\u0151s\u00e9get, amely a snap-confine \u00e9s a systemd-tmpfiles egy\u00fcttm\u0171k\u00f6d\u00e9s\u00e9ben tal\u00e1lhat\u00f3 az Ubuntu rendszerben, lehet\u0151v\u00e9 t\u00e9ve a nem privil\u00e9giumos felhaszn\u00e1l\u00f3 sz\u00e1m\u00e1ra a root-hozz\u00e1f\u00e9r\u00e9s megszerz\u00e9s\u00e9t a rendszerhez.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimosti-v-snapd-i-rust-soreutils-pozvolyayushhie-poluchit-root-privilegii-v-ubuntu","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0423\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 snapd \u0438 Rust \u0421oreutils, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c root-\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0438 \u0432 Ubuntu | ProHoster","og:description":"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Qualys \u0432\u044b\u044f\u0432\u0438\u043b\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2026-3888) \u0432 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0432\u044f\u0437\u043a\u0438 snap-confine \u0438 systemd-tmpfiles \u0432 Ubuntu, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0443\u044e \u043d\u0435\u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c root-\u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0435.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/uyazvimosti-v-snapd-i-rust-soreutils-pozvolyayushhie-poluchit-root-privilegii-v-ubuntu","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-03-18T15:12:13+00:00","article:modified_time":"2026-03-18T15:12:13+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/165172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=165172"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/165172\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=165172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=165172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=165172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}