6 ms·
So when do we get the worldwide 0-day caused by a malicious crates package?
by zelly 4y ago
So when do we get the worldwide 0-day caused by a malicious crates package?
- deleted 4y ago[deleted]
- nevi-me 4y agoThe Kernel and say Chromium, don't use crates.io. They (will) vendor what they need, which they can update when they need to and when they've reviewed the dependencies. Unless that 0-day comes from some other software, it seems unlikely that we'll get such a worldwide supply chain issue.
- bscphil 4y agoFirefox, on the other hand, seems to download a ton of Rust packages during the build as opposed to vendoring. (Debian maintains a bunch of hacks to allow vendoring all the Rust components, but this isn't the default or the approach taken by other distros, e.g. Arch Linux.)
- glandium 4y agoNo, Firefox vendors everything it uses. Debian has no patches wrt vendoring of Rust code in Firefox. Source: I work for Mozilla and maintain the Debian Firefox package.
- bscphil 4y agoThank you, I appreciate the correction. Did this change at some point in the past? I seem to remember the Arch Linux package downloading a ton of Rust stuff at one point.
- glandium 4y agoNo, it has always used vendored crates. Well, technically, it wasn't using vendored crates until https://bugzilla.mozilla.org/show_bug.cgi?id=1298422 https://bugzilla.mozilla.org/show_bug.cgi?id=1298422 , but before that, there were only a limited number of crates in use, and their only dependencies were local, so practically, that's the same thing.