|
|
|
|
|
by hansvm
8 days ago
|
|
Luckily there haven't been any critical vulnerabilities in high-profile Rust code discovered the past 30 days like HTTP request smuggling in Actix, UAF DF and OOB in SurrealDB, OOB in Apache Arrow, sandbox escapes in wasmtime/cranelift, sandbox escapes in cap-primitives.... Whether this is true or not, it's positioned as a bad thing because time and effort spent on memory safety isn't purely an additive benefit. It can actively reduce memory safety (high-perf Rust software needing more unsafe than we care to admit, and unsafe Rust being harder to write correctly than normal C), and it can fight against time spent focusing on other serious vulns (e.g., the cap-primitives issue is important because we're failing to do things as simple as when we run literally arbitrary code bothering to make sure it's the right code). And that's only from a security perspective where legitimately informed and intelligent people disagree about whether Rust actually reduces vulns in high-performance code (again, whichever side you fall on, that's the argument being made). There's additional pushback against Rust when people would otherwise be silent about its security shortcomings because it has enough other tradeoffs in its design to hinder other metrics developers care about, like speed of feature delivery (or, in the age of vibecoding, cost of tokens and therefore also speed of correct feature delivery). |
|