{"id":169899,"date":"2026-04-24T18:24:34","date_gmt":"2026-04-24T16:24:34","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/v-rust-coreutils-vyyavleno-113-uyazvimostej-v-ubuntu-26-04-vozvrashheny-cp-mv-i-rm-iz-gnu-coreutils"},"modified":"2026-04-24T18:24:34","modified_gmt":"2026-04-24T16:24:34","slug":"v-rust-coreutils-vyyavleno-113-uyazvimostej-v-ubuntu-26-04-vozvrashheny-cp-mv-i-rm-iz-gnu-coreutils","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/v-rust-coreutils-vyyavleno-113-uyazvimostej-v-ubuntu-26-04-vozvrashheny-cp-mv-i-rm-iz-gnu-coreutils","title":{"rendered":"113 vulnerabilities have been identified in Rust Coreutils. cp, mv, and rm from GNU Coreutils have returned in Ubuntu 26.04.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Canonical has published preliminary results of an independent security audit of the uutils coreutils (Rust Coreutils) toolkit, which is written in Rust and is partially used in Ubuntu instead of the GNU Coreutils package. The audit was conducted by Zellic, a company experienced in vulnerability analysis in Rust projects. During the review, 113 security issues were identified.    <\/p>\n<p>A report (PDF, 156 pages) with the results of the first stage of the audit, covering the most important utilities from the uutils set, is now available. In the first stage, conducted from December 2025 to January 2026, 73 vulnerabilities were identified, of which 7 were marked as critical, 11 as dangerous, 29 as medium risk, and 26 as low risk.    <\/p>\n<p>The second phase of the audit took place from February to March and covered secondary utilities that were not examined in the first phase. In the second phase, 40 vulnerabilities were found, the severity of which is yet to be detailed (the report is planned to be published later). Information about all identified issues has already been passed to the uutils developers, and most vulnerabilities were fixed in uutils releases 0.5-0.8 without undue publicity or linkage of corrections with vulnerability remediation.        <\/p>\n<p>The rust-coreutils package was included by default in the fall release of Ubuntu 25.10, but considering the issues identified during the audit in the LTS branch of Ubuntu 26.04, the cp, mv, and rm utilities from the GNU Coreutils set were reinstated. It is noted that as of April 22, 8 known race conditions remain unaddressed in these utilities. The other utilities are sourced from the rust-coreutils 0.8.0 release. In Ubuntu 26.10, the developers plan to fully transition to rust-coreutils.      <\/p>\n<p>Vulnerabilities in system utilities are dangerous because they are used in scripts that run with root privileges. For example, a vulnerability fixed in the uutils coreutils 0.3.0 release in the rm utility could have been exploited during the daily execution from the cron script \/etc\/cron.daily\/apport, which runs with root privileges and recursively deletes the contents of the \/var\/crash directory, writable by all users in the system.       <\/p>\n<p>Among the vulnerabilities marked as critical in the first report:  <\/p>\n<ul>\n<li class=\"l\"> A vulnerability in the chroot utility, caused by the processing of the --userspec option after the chroot() call but before privilege dropping. On systems with glibc, name resolution via the getpwnam() function leads to reading the \/etc\/nsswitch.conf file used in NSS (Name Service Switch) and dynamically loading the libraries specified in it with NSS modules (libnss_*.so.2). Since the chroot() call is executed before processing NSS, the \/etc\/nsswitch.conf file is loaded relative to the new root, but NSS libraries are loaded before privilege dropping. If a user has write access to the new root, they can substitute their own NSS libraries and achieve code execution with root privileges.\n<li class=\"l\"> Changing file permissions after failing to create a named pipe (FIFO) with the mkfifo utility \u2014 if an existing file is specified as an argument, mkfifo will return an error, but it will not crash; instead, it will call set_permissions() and change the permissions of the existing file. Considering umask 022, the vulnerability allows changing the file permissions to 644 (rw-r--r--) and gaining access to files that were not permitted for reading.\n<li class=\"l\"> Bypassing the --preserve-root restrictions in the chmod utility, which prevent performing recursive operations relative to the root of the file system. The vulnerability (CVE-2026-35338) is caused by the fact that the code only checked for an exact match with the '\/' path and did not canonicalize the file path. To bypass the check, it is sufficient to use a path like '\/..\/' or a symbolic link to the root. The vulnerability is dangerous because if one can inject their path into a system script that calls the chmod command, it can lead to recursive changes in permissions for all files in the file system.\n<li class=\"l\"> In the rm utility, it was possible to process any abbreviations of the option &#171;&#8212;no-preserve-root&#187; (&#171;&#8212;n&#187;, &#171;&#8212;no&#187;, &#171;&#8212;no-p&#187;, &#171;&#8212;no-pres&#187;, etc.) to disable protection against executing recursive operations on the root (for example, specifying &#171;rm -rf &#8212;n \\\/&#187; could accidentally delete all data. In GNU Coreutils, such abbreviated options are prohibited.\n<li class=\"l\"> Bypassing the restrictions of &#171;&#8212;preserve-root&#187; in the rm utility, which prevents recursive operations relative to the root of the filesystem, by substituting a symbolic link to &#171;\\\/&#187;.\n<li class=\"l\"> The lack of proper protection against specifying directories that start with a dot. For example, when executing &#171;rm -rf .&#187;, the utility will produce an error, but when specifying &#171;rm -rf .\\\/&#187; or &#171;rm -rf .\/\/\/\/&#187;, it will silently delete the current directory.\n<li class=\"l\"> An error in the argument parsing code of the kill utility allows sending a signal to all processes in the system when specifying the process identifier &#171;-1&#187; (kill -1).     <\/ul>\n<p> Otherwise, most vulnerabilities fall under the TOCTOU (Time-Of-Check-To-Time-Of-Use) category, which implies a race condition that allows data to be altered between the validation of its correctness and the execution of an operation on it, such as replacing a file with a symbolic link in the moment between the end of the check and the beginning of the operation. In the context of using the cp and mv utilities in system scripts run with root privileges, such vulnerabilities can allow arbitrary files to be copied or overwritten.<br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=65278\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Canonical \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0430 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438\u0442\u043e\u0433\u0438 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0433\u043e \u0430\u0443\u0434\u0438\u0442\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f uutils coreutils (Rust Coreutils), \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0438 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0432 Ubuntu \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u0430\u043a\u0435\u0442\u0430 GNU Coreutils. \u0410\u0443\u0434\u0438\u0442 \u0431\u044b\u043b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0435\u0439 Zellic, \u0438\u043c\u0435\u044e\u0449\u0435\u0439 \u043e\u043f\u044b\u0442 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust. \u0412 \u0445\u043e\u0434\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0431\u044b\u043b\u043e \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u043e 113 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c\u044e. \u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0443\u0436\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043e\u0442\u0447\u0451\u0442 [&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-169899","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Canonical \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0430 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438\u0442\u043e\u0433\u0438 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0433\u043e \u0430\u0443\u0434\u0438\u0442\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f uutils coreutils (Rust Coreutils), \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0438 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0432 Ubuntu \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u0430\u043a\u0435\u0442\u0430 GNU.\" \/>\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\/en\/blog\/news\/v-rust-coreutils-vyyavleno-113-uyazvimostej-v-ubuntu-26-04-vozvrashheny-cp-mv-i-rm-iz-gnu-coreutils\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\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\u0412 Rust Coreutils \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u043e 113 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439. \u0412 Ubuntu 26.04 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u044b cp, mv \u0438 rm \u0438\u0437 GNU Coreutils | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Canonical \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0430 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438\u0442\u043e\u0433\u0438 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0433\u043e \u0430\u0443\u0434\u0438\u0442\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f uutils coreutils (Rust Coreutils), \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0438 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0432 Ubuntu \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u0430\u043a\u0435\u0442\u0430 GNU.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/v-rust-coreutils-vyyavleno-113-uyazvimostej-v-ubuntu-26-04-vozvrashheny-cp-mv-i-rm-iz-gnu-coreutils\" \/>\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-04-24T16:24:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-04-24T16:24:34+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\udd47A total of 113 vulnerabilities have been identified in Rust Coreutils. The cp, mv, and rm utilities are returning from GNU Coreutils in Ubuntu 26.04 | ProHoster","description":"Canonical has published preliminary results from an independent security audit of the uutils coreutils (Rust Coreutils) toolkit, written in Rust and partially used in Ubuntu instead of the GNU package.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/v-rust-coreutils-vyyavleno-113-uyazvimostej-v-ubuntu-26-04-vozvrashheny-cp-mv-i-rm-iz-gnu-coreutils","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","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\u0412 Rust Coreutils \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u043e 113 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439. \u0412 Ubuntu 26.04 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u044b cp, mv \u0438 rm \u0438\u0437 GNU Coreutils | ProHoster","og:description":"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Canonical \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b\u0430 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438\u0442\u043e\u0433\u0438 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0433\u043e \u0430\u0443\u0434\u0438\u0442\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f uutils coreutils (Rust Coreutils), \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0438 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u0432 Ubuntu \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u0430\u043a\u0435\u0442\u0430 GNU.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/v-rust-coreutils-vyyavleno-113-uyazvimostej-v-ubuntu-26-04-vozvrashheny-cp-mv-i-rm-iz-gnu-coreutils","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-04-24T16:24:34+00:00","article:modified_time":"2026-04-24T16:24:34+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\/en\/wp-json\/wp\/v2\/posts\/169899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=169899"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/169899\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=169899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=169899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=169899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}