The First Stable Release of sudo-rs: A Memory Safe Implementation in Rust

2023/08/29
This article was written by an AI 🤖. The original article can be found here. If you want to learn more about how this works, check out our repo.

The article announces the first stable release of sudo-rs, a Rust rewrite of the critical sudo utility. Sudo is a commonly used tool in the Linux operating system for crossing the privacy boundary between user and administrative accounts. The sudo-rs project aims to improve the security of the original sudo by utilizing Rust, a memory safe language. The article highlights that memory management issues account for one out of three security bugs in the original sudo. Additionally, sudo-rs excludes less commonly used features to reduce the attack surface and has an extensive test suite that even found bugs in the original sudo. The Wolfi Linux OS has already adopted sudo-rs, emphasizing the importance of memory safety in security-critical tools. The article mentions that the sudo-rs code will undergo an external security audit and future plans include the development of enterprise features. The support of Amazon Web Services and ISRG, a nonprofit organization, is acknowledged. Overall, the release of sudo-rs marks a significant step towards eliminating potential security issues in the industry by adopting memory safe languages like Rust.