I'm curious, is this one implementation of sudo really used everywhere? I was under the impression that different Linux userspaces sometimes implement these common commands differently. Like "ls" sometimes actually being aliased to a bash script, or maybe BSD having one implementation and Ubuntu another. Is that not the case? Is "sudo" not maintained by an entity like gnu, bsd, etc? edit - in other words, I always as…
Heap-based buffer overflow in Sudo
11–20 of 328 posts
Re: Heap-based buffer overflow in Sudo
#12"rewrite sudo in Rust" in 3,2...
Re: Heap-based buffer overflow in Sudo
#13I'm curious, is this one implementation of sudo really used everywhere? I was under the impression that different Linux userspaces sometimes implement these common commands differently. Like "ls" sometimes actually being aliased to a bash script, or maybe BSD having one implementation and Ubuntu another. Is that not the case? Is "sudo" not maintained by an entity like gnu, bsd, etc? edit - in other words, I always as…
Nope... sudo is just this sudo in 99.99% of the cases. There are some alternatives, such as *bsd's doas, and others, but all but doas and su are so non-popular and outdated that I would not recommend using them, as they probably have way more security issues.
OpenBSD dropped sudo from the base OS several years ago. sudo just became too complex, tailored to the feature creep demanded and required (PAM, ugh) by Linux users.
Re: Heap-based buffer overflow in Sudo
#14I'm curious, is this one implementation of sudo really used everywhere? I was under the impression that different Linux userspaces sometimes implement these common commands differently. Like "ls" sometimes actually being aliased to a bash script, or maybe BSD having one implementation and Ubuntu another. Is that not the case? Is "sudo" not maintained by an entity like gnu, bsd, etc? edit - in other words, I always as…
But every tool has to be maintained by someone. Its not like GNU is a faceless corporation.
Re: Heap-based buffer overflow in Sudo
#15Shouldn't this affect macOS?
Re: Heap-based buffer overflow in Sudo
#16Never knew it had a mascot, if you could call it so... I will never unsee it. Nightmare fuel at it's finest.
Re: Heap-based buffer overflow in Sudo
#17"rewrite sudo in Rust" in 3,2...
Why? After all it is obvious code reviewers are enough to catch any typical C memory corruption error.
Also, the sarcasm in your comment really doesn't help your message.
Re: Heap-based buffer overflow in Sudo
#18I'm curious, is this one implementation of sudo really used everywhere? I was under the impression that different Linux userspaces sometimes implement these common commands differently. Like "ls" sometimes actually being aliased to a bash script, or maybe BSD having one implementation and Ubuntu another. Is that not the case? Is "sudo" not maintained by an entity like gnu, bsd, etc? edit - in other words, I always as…
Nope... sudo is just this sudo in 99.99% of the cases. There are some alternatives, such as *bsd's doas, and others, but all but doas and su are so non-popular and outdated that I would not recommend using them, as they probably have way more security issues.
Re: Heap-based buffer overflow in Sudo
#19Never knew sudo had a site ( https://sudo.ws ). Never knew it had a mascot, if you could call it so... I will never unsee it. Nightmare fuel at it's finest.