Re:Backdoor in upstream xz/liblzma leading to SSH server com...
by ok123456 on Friday March 29, 2024 @03:58PM
(#39868347)
Rust is the issue here because it doesn't give you much of an option. And that option is the wrong one if you need to do an emergency upgrade of a particular library system-wide.
Re:Backdoor in upstream xz/liblzma leading to SSH server com...
by packetlost on Friday March 29, 2024 @04:11PM
(#39868491)
It's really not, it's not hard to do a reverse search of [broken lib] <= depends on <= [rust application] and then rebuild everything that matches. You might have to rebuild more, but that's not really hard with modern build infrastructure.
Not to mention if you have a Rust application that depends on C libraries, it already dynamically links on most platforms. You only need to rebuild if a Rust crate needs to be updated.
Rust isn't really the point here, it's the age old static vs dynamic linking argument. Rust (or rather, Cargo) already tracks which version of a dependency a library depends on (or a pattern to resolve one), but it's besides the point.