top | item 45898377

Security issues discovered in sudo-rs

24 points| kahlonel | 3 months ago |lists.debian.org

15 comments

order

portmanteaufu|3 months ago

To save everyone a click, the text is:

""" Two security issues were discovered in sudo-rs, a Rust-based implemention of sudo (and su), which could result in the local disclosure of partially typed passwords or an authentication bypass in some targetpw/rootpw configurations.

For the stable distribution (trixie), this problem has been fixed in version 0.2.5-5+deb13u1.

We recommend that you upgrade your rust-sudo-rs packages. """

wiz21c|3 months ago

as far as i can see, it's just programming errors, nothing to do with rust.

_flux|3 months ago

Everything to do with reimplementing sudo, though.

But sudo has its share of CVEs as well (latest CVE-2025-32463), so perhaps a fresh look on the tool is warranted; perhaps some learnings have been taken from it.

never_inline|3 months ago

Do they have test suite comparable to that of original sudo, or can they reuse the test suite of original sudo?

egorfine|3 months ago

Same could be said about many of the real sudo bugs, but that argument doesn't stick with rust fanboys.

(Obligatory disclaimer: I love rust, I hate fanboys and rewrites)

m4rtink|3 months ago

But memory safety!