|
|
Log in / Subscribe / Register

The malicious "rustdecimal" crate

The malicious "rustdecimal" crate

Posted May 13, 2022 13:50 UTC (Fri) by zdzichu (subscriber, #17118)
In reply to: The malicious "rustdecimal" crate by wtarreau
Parent article: The malicious "rustdecimal" crate

The question was for ANY example of malicious code going into the distro. The example was provided. Nitpicking about the date is just moving the goalposts.


to post comments

The malicious "rustdecimal" crate

Posted May 15, 2022 3:46 UTC (Sun) by wtarreau (subscriber, #51152) [Link] (3 responses)

"nitpicking" :-)

Selecting an issue that happened more than 10 years before the ecosystem subject of this article was even imagined is hardly relevant to this discussion, I'm sorry. It's presenting a process that's supposed to be better than another one without looking at what was done since in order to make sure this issue doesn't happen anymore. Yet the current situation is presented as having that limitation while it may very well be what made this issue not happen anymore. That's precisely a swap of cause and consequence.

The malicious "rustdecimal" crate

Posted May 15, 2022 3:53 UTC (Sun) by mjg59 (subscriber, #23239) [Link] (2 responses)

> without looking at what was done since in order to make sure this issue doesn't happen anymore

Nothing was done. There's no process in Debian to prevent something like this happening again - the reason it hasn't is that upstreams are generally not malicious.

The malicious "rustdecimal" crate

Posted May 20, 2022 2:21 UTC (Fri) by dilinger (subscriber, #2867) [Link]

And there's the fact that such a malicious bug would only affect a certain subset of debian users (those running unstable) rather than stable users. An upstream could plant something debian-specific that waited several years before triggering so that it happened on debian stable systems, but that's quite the long game. Or stable could be targeted by a fast-changing package in stable, like firefox/chromium.

The malicious "rustdecimal" crate

Posted Jun 12, 2022 6:45 UTC (Sun) by marcH (subscriber, #57642) [Link]

> the reason it hasn't is that upstreams are generally not malicious.

"Generally" is good enough except for security or safety issues. My smartphone "generally" does not crash: good enough. My bank account is "generally" safe from hackers: not good enough.

But of course security bugs are also "just bugs". So it's funny to see some $BIGCORPS suddenly very obsessed about preventing security bugs and wondering "how did that happen?" when the answer is often just:
because crashing from time to time was considered good enough... until hackers look at our products.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds