News for hackers. Stuff that matters.
Re:OpenSSL Security Advisory by Someone1234 on Tuesday May 03, 2016 @11:15AM (#11621379)
No disputing that bugs can be written in any language. But by avoiding C/C++ you're excluding a specific class of bugs which have historically proved harmful.

You can write exploitable code in Java. But you'd actually have to try if you wanted Java to be able to write arbitrary memory or execute arbitrary code.

Essentially any bug that can be written in Java/Go/Rust/etc can be written in C/C++. But some C/C++ bugs are extremely uncommon in other languages, or you have to actually TRY to introduce them.

Re:OpenSSL Security Advisory by shanemhansen on Tuesday May 03, 2016 @02:37PM (#11623113)
> But you'd actually have to try if you wanted Java to be able to write arbitrary memory or execute arbitrary code.

Depends on your definition of arbitrary. Higher level languages have higher level exploits. While injecting x86 shellcode into a java process is probably hard, many java applications have been vulnerable to serialization bugs which result in the execution of arbitrary bytecode.

Source: http://www.darkreading.com/informationweek-home/why-the-java...

Re:OpenSSL Security Advisory by pcwalton on Tuesday May 03, 2016 @03:47PM (#11623637)
Nobody is saying RCE is impossible in memory safe languages, just much less likely.
Re:OpenSSL Security Advisory by askyourmother on Tuesday May 03, 2016 @05:42PM (#11624470)
And this needs to be said more "RCE is possible in Rust", because sometimes it is portrayed in almost unassailable terms.
Re:OpenSSL Security Advisory by pcwalton on Tuesday May 03, 2016 @06:11PM (#11624665)
It also needs to be said that this is generally not a reasonable reason to pick C over Rust. Memory-safe languages are effective defenses against these flaws.
Re:OpenSSL Security Advisory by ArkyBeagle on Tuesday May 03, 2016 @11:54AM (#11621730)
Intent doesn't matter; results do. This is a heatmap problem - there's simply more 'C'/C++ code out there.
Re:OpenSSL Security Advisory by hansjorg on Tuesday May 03, 2016 @12:08PM (#11621881)
I'm pretty sure there is more (and a greater variety of) net facing Java code than C/C++ code.
Re:OpenSSL Security Advisory by ArkyBeagle on Tuesday May 03, 2016 @12:28PM (#11622070)
You may be right. I'm just thinking that everything( has an O/S and it's probably written largely in 'C'. So much will depend on how you measure it.

I tend to ignore the web as much as possible.