{"id":184369,"date":"2026-11-23T21:36:28","date_gmt":"2026-11-23T19:36:29","guid":{"rendered":"https:\/\/prohoster.info\/blog\/news\/vypusk-uutils-0-13-varianta-gnu-coreutils-na-yazyke-rust-uyazvimost-v-uutils"},"modified":"2026-11-23T21:36:32","modified_gmt":"2026-11-23T19:36:32","slug":"uutils-0-13-released-a-rust-alternative-to-gnu-coreutils-and-a-vulnerability-in-uutils","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/uutils-0-13-released-a-rust-alternative-to-gnu-coreutils-and-a-vulnerability-in-uutils","title":{"rendered":"Release of uutils 0.13, the Rust language version of GNU Coreutils. Vulnerability in uutils","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>The release of the uutils coreutils 0.13.0 (Rust Coreutils) project has been published, which develops an alternative to the GNU Coreutils package, written in the Rust language. The coreutils contain over a hundred utilities, including sort, cat, chmod, chown, chroot, cp, date, dd, echo, hostname, id, ln, and ls. The goal of the project is to create a cross-platform alternative implementation of Coreutils, capable of running on Windows, Redox, and Fuchsia platforms, among others.     <\/p>\n<p>Rust Coreutils is enabled by default in the Ubuntu 26.10 release and partially in Ubuntu 26.04. Rust Coreutils is also used in the AerynOS (Serpent OS) and Apertis distributions (developed by Collabora). Unlike GNU Coreutils, the Rust implementation is distributed under the permissive MIT license, instead of the copyleft GPL license. Additionally, the same team of developers is working on Rust versions of the util-linux, diffutils, findutils, procps, and acl utility sets, as well as the sed and login programs.        <\/p>\n<p>In the new version of Rust Coreutils:  <\/p>\n<ul>\n<li class=\"l\"> The compatibility level with the GNU Coreutils test suite was 95.26% (previously 94.36%). A total of 684 tests were successfully executed, which is 31 more than in the previous version. 23 tests failed (up from 21), and 11 tests were skipped (down from 18). Out of the GNU tests, 26 new tests were transferred, of which 2 are currently failing. During the compatibility review, some behavioral differences with GNU Coreutils were identified that were not covered by its own test suite, which led to 82 commits being transferred to GNU Coreutils, mostly related to adding new tests and minor fixes.\n<li class=\"l\"> Certain discrepancies with GNU Coreutils in the behavior of the sort, date, dd, ls, tail, printf, and seq utilities have been resolved.\n<li class=\"l\"> The parameters and messages in the pr, numfmt, stty, stat, and od utilities have been synchronized with GNU Coreutils.\n<li class=\"l\"> Changes have been made for safer handling of symbolic links in the cp, mv, ln, chown, chgrp, and install utilities. For example, in the cp utility, writing in recursive mode is disabled when a symbolic link points to the target directory. In mv and ln, replacing a directory with a symbolic link is prohibited.\n<li class=\"l\"> Efforts have been made to eliminate crashes during write failures in the rmdir, chcon, cp, tail, numfmt, printf, and seq utilities.\n<li class=\"l\"> The byte deletion speed in the tr utility has been accelerated, as well as base58 encoding and decoding in the basenc utility. Buffering has been disabled during line-by-line output in the od utility.\n<li class=\"l\"> Utility optimizations have been performed: the &#171;basenc base58&#187; command has been sped up by 35 times, cut by 23%, date by 22%, and join by 20%.\n<li class=\"l\"> The number of utilities supporting input in encodings other than UTF-8 has been expanded.\n<li class=\"l\"> Input data in encodings other than UTF-8 is preserved in the output of the date, stat, and shred utilities.\n<li class=\"l\"> The chroot and sync utilities, along with permission handlers, have been changed to use the std library instead of rustix. The cp and dd utilities have switched to the set_len function instead of ftruncate.\n<li class=\"l\"> Tests have been added for WASI builds (WebAssembly) including seq, mv, fmt, readlink, dircolors, cksum, realpath, nproc, shred, and join.\n<li class=\"l\"> For the Windows platform, the ln utility has implemented the conversion of &#171;\\\/&#187; to &#171;&#092;&#187; in symbolic links. The cp utility has added support for recursive copying of root directories like &#171;W:\\&#187;.\n<li class=\"l\"> Capabilities have been enhanced, issues resolved, or missing options added for the following utilities: b2sum, base32, base64, basename, basenc, cat, chcon, chgrp, chmod, chown, chroot, cksum, comm, cp, csplit, cut, date, dd, df, dircolors, dirname, du, env, expand, expr, factor, fmt, fold, groups, head, hostname, id, install, join, ln, ls, md5sum, mkdir, mkfifo, mknod, mktemp, more, mv, nice, nl, nohup, numfmt, od, paste, pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink, realpath, rm, rmdir, seq, shred, shuf, sort, split, stat, stdbuf, stty, sum, sync, tac, tail, tee, test, timeout, touch, tr, truncate, tsort, uname, unexpand, uniq, uptime, users, wc, who, whoami, yes.    <\/ul>\n<p>Additionally, it is worth noting the disclosure of 4 vulnerabilities in uutils, which have been quietly fixed in version uutils 0.12. One of the vulnerabilities (CVE not assigned) has a critical level of severity (9.9 out of 10) and allows for the insertion of custom code into executable files during the build process by creating a specially formatted ftl file with translations. The issue is present in the uucore package (the core functions used in uutils) and is caused by the fact that the build.rs file embeds the contents of ftl files into the source code before building using the &#171;include!&#187; macro without proper line-ending character validation.    <\/p>\n<p>When a &#8216;&#187;&#8216; character appears in the text, the content is embedded as a raw string, allowing for the insertion of custom code into the embedded_locales.rs file by specifying &#8216;&#187;#&#8217; in the ftl file. Raw strings in Rust are wrapped using &#8216;r#&#187;&#8230;&#187;#&#8217;, which means that by inserting &#8216;&#187;#&#8217;, one can prematurely close the string, and all subsequent text will be treated as source code by the compiler. Since reviewers primarily focus on code files, translation files may be overlooked, making the vulnerability potentially allow for the injection of malicious code by joining the team responsible for translations. An example of a malicious ftl file: greeting = quote &#171;#),          &#171;pwn&#187; =&gt; { std::process::Command::new(&#171;\\\/bin\\\/sh&#187;).arg(&#171;-c&#187;)              .arg(&#171;id &gt; \\\/tmp\\\/UUTILS_FTL_INJECTION_PROOF&#187;).status().ok(); None },          &#171;tail&#187; =&gt; Some(r#&#187;<br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=66746\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 uutils coreutils 0.13.0 (Rust Coreutils), \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0430\u043d\u0430\u043b\u043e\u0433 \u043f\u0430\u043a\u0435\u0442\u0430 GNU Coreutils, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust. \u0412 \u0441\u043e\u0441\u0442\u0430\u0432 coreutils \u0432\u0445\u043e\u0434\u0438\u0442 \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0430 \u0443\u0442\u0438\u043b\u0438\u0442, \u0432\u043a\u043b\u044e\u0447\u0430\u044f sort, cat, chmod, chown, chroot, cp, date, dd, echo, hostname, id, ln \u0438 ls. \u0426\u0435\u043b\u044c\u044e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u0439 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 Coreutils, \u0441\u0440\u0435\u0434\u0438 \u043f\u0440\u043e\u0447\u0435\u0433\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445 Windows, Redox [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-184369","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 uutils coreutils 0.13.0 (Rust Coreutils), \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0430\u043d\u0430\u043b\u043e\u0433 \u043f\u0430\u043a\u0435\u0442\u0430 GNU Coreutils, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alexander Kovalev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/uutils-0-13-released-a-rust-alternative-to-gnu-coreutils-and-a-vulnerability-in-uutils\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.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\u044b\u043f\u0443\u0441\u043a uutils 0.13, \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 GNU Coreutils \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust. \u0423\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 uutils | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 uutils coreutils 0.13.0 (Rust Coreutils), \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0430\u043d\u0430\u043b\u043e\u0433 \u043f\u0430\u043a\u0435\u0442\u0430 GNU Coreutils, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/uutils-0-13-released-a-rust-alternative-to-gnu-coreutils-and-a-vulnerability-in-uutils\" \/>\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-11-23T19:36:29+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-23T19:36:32+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47The release of uutils 0.13, a Rust version of GNU Coreutils. A vulnerability in uutils | ProHoster","description":"The release of the uutils coreutils 0.13.0 (Rust Coreutils) project has been published, developing an analog to the GNU Coreutils package, written in Rust.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/uutils-0-13-released-a-rust-alternative-to-gnu-coreutils-and-a-vulnerability-in-uutils","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\u044b\u043f\u0443\u0441\u043a uutils 0.13, \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 GNU Coreutils \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust. \u0423\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u0432 uutils | ProHoster","og:description":"\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 uutils coreutils 0.13.0 (Rust Coreutils), \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0430\u043d\u0430\u043b\u043e\u0433 \u043f\u0430\u043a\u0435\u0442\u0430 GNU Coreutils, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/uutils-0-13-released-a-rust-alternative-to-gnu-coreutils-and-a-vulnerability-in-uutils","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-11-23T19:36:29+00:00","article:modified_time":"2026-11-23T19:36:32+00:00","article:publisher":"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\/184369","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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=184369"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/184369\/revisions"}],"predecessor-version":[{"id":184370,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/184369\/revisions\/184370"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=184369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=184369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=184369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}