News for hackers. Stuff that matters.
Re:Ubuntu Systemd Vulnerability by runn1ng on Wednesday June 28, 2017 @10:40AM (#14654506)
"Rewrite It In Rust" should be the default, pre-set comment to every article about every vulnerability
Re:Ubuntu Systemd Vulnerability by setq on Wednesday June 28, 2017 @11:05AM (#14654745)
Well 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.
Re:Ubuntu Systemd Vulnerability by fetbaffe on Wednesday June 28, 2017 @10:50AM (#14654601)
Re:Ubuntu Systemd Vulnerability by tyingq on Wednesday June 28, 2017 @10:43AM (#14654544)
Maybe every memory access related one. I assume rust still allows you to pass untrusted user input around, for example.
Re:Ubuntu Systemd Vulnerability by zlynx on Wednesday June 28, 2017 @12:21PM (#14655454)
Oh yeah. Cross site scripting and SQL injections are still perfectly easy to write in Rust. You can accept a web POST and pass it directly, unquoted, to a local shell too.
Re:Ubuntu Systemd Vulnerability by runn1ng on Thursday June 29, 2017 @07:13AM (#14662249)
Rust solves every vulnerability ever made
Re:Ubuntu Systemd Vulnerability by rurban on Thursday June 29, 2017 @06:09AM (#14662035)
Using a safe language would help even more. Safer than C != Safe.