News for hackers. Stuff that matters.
Re:NSA Said to Have Used Heartbleed Bug for at Least Two Yea... by cjbprime on Friday September 20, 2019 @11:13PM (#21033254)
> security community has yet to deliver a proper solution

What do you want them to do? I think their solution is "use memory-safe languages like Golang or Rust (or even JavaScript/TypeScript) for new projects, not C or C++" and "use extensive fuzzing on legacy C code that hasn't been replaced yet".

Fuzzing was capable of finding Heartbleed, and it's advanced massively (and been set up at scale to continuously test open source projects) since then.

Re:NSA Said to Have Used Heartbleed Bug for at Least Two Yea... by z3phyr on Saturday September 21, 2019 @04:40AM (#21034205)
Rust is pretty useful against memory based bugs, and it is prudent that new projects take advantage of it. But this in no way fixes the headache of security, because (1) almost all of the existing infrastructure code depends on C (2) New classes of bugs will eventually emmerge, some partly unfixable by software solution.
Re:NSA Said to Have Used Heartbleed Bug for at Least Two Yea... by carlmr on Saturday September 21, 2019 @05:59AM (#21034421)
>New classes of bugs will eventually emmerge, some partly unfixable by software solution.

Sure Rust, ADA and such don't remove all classes of bugs, but they can reduce the attack surface considerably, giving you more time to focus on the remaining security bugs.

And maybe people will invent software solutions that reduce the attack surface even more.

Assembly is a fast car with no security features. C is a sportscar with a seatbelt. Rust is a sportscar with a seatbelt, airbags, ABS, ESC and emergency breaking.

Of course you can still crash and die, it's just that you're less likely to do so.

Re:NSA Said to Have Used Heartbleed Bug for at Least Two Yea... by braindeath on Saturday September 21, 2019 @05:35PM (#21038055)
> Assembly is a fast car with no security features. C is a sportscar with a seatbelt.

Given the ways you can trigger UB there is no difference between Assembly and C with regards to safety.

Re:NSA Said to Have Used Heartbleed Bug for at Least Two Yea... by eigenloss on Sunday September 22, 2019 @12:36AM (#21039682)
Just type "undefined behavior" here. I'm sure you have the time.
Re:NSA Said to Have Used Heartbleed Bug for at Least Two Yea... by carlmr on Monday September 23, 2019 @03:39AM (#21046715)
I know what you mean, however I think C did bring down the amount of bugs compared to assembly, just by making code easier to read and higher level abstractions available.

It's still not much though.

Re:NSA Said to Have Used Heartbleed Bug for at Least Two Yea... by guerrilla on Friday September 20, 2019 @11:59PM (#21033409)
> What do you want them to do?

If you read to the end of the comment, it suggests dependent typing as the solution.