Re:Sudo-rs: A memory safe implementation of sudo and su
by Tobu on Friday April 28, 2023 @10:18AM
(#35741553)
https://www.cvedetails.com/vulnerability-search.php?f=1&prod... finds quite a few: double free, array out of bounds, buffer overflows in the stack and the heap…
There's also a format string vulnerability that wouldn't exist in Rust and which C turns into privilege escalation instead of aborting.
Re:Sudo-rs: A memory safe implementation of sudo and su
by nibbleshifter on Friday April 28, 2023 @10:01AM
(#35741358)
About one decently exploitable bug a year or so over the past few years.
Not all of them have been memory safety issues, but many have been.
I’m not convinced that rewriting something in rust makes it automatically safer.