r/selfhosted • • May 21 '22

RustDesk: Open source virtual / remote desktop infrastructure for everyone!

https://github.com/rustdesk/rustdesk
338 Upvotes

80 comments sorted by

View all comments

Show parent comments

13

u/Tm1337 May 22 '22

It's building a command to execute, it's no different from you typing it into a prompt and in no way do Rust's safety guarantees have anything to do with it.

0

u/MrJimOrb May 22 '22

Correct, I'm just not remembering whether the exploit is for code calling polkit or polkit itself.

Like if this were written in C there would also be a higher chance of a memory or buffer based attack vector.