3 ms·
OpenVMS was promoted as ultrasecure back in the day. Hint: exploits happened too. Here's your hard slap in your face. https://medium.com/@shnatsel/how-rusts-s
by anthk 7y ago
OpenVMS was promoted as ultrasecure back in the day. Hint: exploits happened too.
Here's your hard slap in your face.
https://medium.com/@shnatsel/how-rusts-standard-library-was-vulnerable-for-years-and-nobody-noticed-aebf0503c3d6 https://medium.com/@shnatsel/how-rusts-standard-library-was-...
- pjmlp 7y agoSurely they did happen, a tiny set, meanwhile the C flaws that allowed the Morris worm to happen 30 years ago, are still present in C11 being written today.
- anthk 7y agoCurrent compiler and OSes have some protections to avoid that precisely. It won't be that easy.
- pjmlp 7y agoApparently it is, given the exploits presented at CCC talks. Or the ones given by Google and Microsoft at Linux Kernel Security Summit 2018 and 2019.
- anthk 7y agoI use OpenBSD, other OS'es focusing on performance over security doesn't interest me. Except 9front, but because of the huge networked grid as a bare computer. But in OpenBSD even plan9port compiled software is done with Retguard: >nm $HOME/Docs/c/p9p/9.aecho | grep retpo 00003150 t __llvm_retpoline_r11 https://undeadly.org/cgi?action=article&sid=20170819230157 https://undeadly.org/cgi?action=article&sid=20170819230157 It makes using acid(1) in OpenBSD a bit more difficult, but I almost always omit that.
- pjmlp 7y agoI advise you to watch the CCC talk about validation of OpenBSD exploit mitigation features. Yes, it is great that OpenBSD values security over performance, but as the talk shows, not every security feature is as secure in practice as OpenBSD sells it.
- saagarjha 7y agoThere are a number of attacks that retguard can’t help with.
- dnpp123 7y agohttps://doc.rust-lang.org/nomicon/meet-safe-and-unsafe.html https://doc.rust-lang.org/nomicon/meet-safe-and-unsafe.html
- rvz 7y ago> Here's your hard slap in your face. Not really. I said 'reduce or possibly eliminate'. I already entertained the fact that even Rust has bugs. But I can't see how one example of a documented Rust vulnerability which even requires a tricky exploit chain in practice, would change my mind given the tens of thousands of memory corruption CVEs in C/C++ software. The effectiveness of Rust's claims to 'reduce' these cases of memory corruption vulnerabilities have been proven over the years. Rust is no doubt already being tested with confidence in production by many companies for years, making it possible to compliment or replace C/C++ based programs. You too are more than welcome to change my mind. :)
- simion314 7y agoYou are comparing the number of CVEs in hundreds or thousands of low level code vs a few Rust libraries , you might want to wait until you have a few popular OSs, full browsers,drivers ,VMs made from scratch with Rust then compare or do a fair one to one comparisons. Just wanted to let you know that your comment feels very misleading because you present the large number of bugs in say web browsers and contrast it with no Rust bugs in web browsers because nobody uses a Rust browser(I know Firefox has some parts in Rust but those parts are new so you can't compare it with years old code that had time to accumulate bugs and people to find them)
- anthk 7y agoThis. Let's see is Mozilla rebases the entire browser in Rust except some dependencies on FreeType and MESA and let's see how many bugs do rise. If Chrome did the same shit would happen, it's 20x more code in Chrom{e,ium} than the OpenBSD base with LLVM.