8 ms·
"Rewrite It In Rust" should be the default, pre-set comment to every article about every vulnerability
by runn1ng 9y ago
"Rewrite It In Rust" should be the default, pre-set comment to every article about every vulnerability
- tyingq 9y agoMaybe every memory access related one. I assume rust still allows you to pass untrusted user input around, for example.
- fetbaffe 9y agohttps://github.com/ansuz/RIIR https://github.com/ansuz/RIIR
- setq 9y agoWell no not really. Vulnerabilities exist outside the realms of the language implementations. There are poorly designed protocols and access controls to contend with as well. I'd argue there are a lot more of those classes of problems out there. The ones enabled by programming languages are merely easier to find as you don't have to understand the precise problem domain of the application for each one found.
- rurban 9y agoUsing a safe language would help even more. Safer than C != Safe.