News for hackers. Stuff that matters.
Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by miohtama on Thursday November 19, 2026 @05:01AM (#50558130)
This is bad news for C/C++
Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by xnickb on Thursday November 19, 2026 @05:12AM (#50558203)
This is bad news for computer industry. See the recent Java4Shell.
Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by eecc on Thursday November 19, 2026 @05:20AM (#50558271)
because the assembly for the base64 decoding was handwritten, the paren't comment is still valid
Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by dingaling911 on Thursday November 19, 2026 @05:45AM (#50558442)
I think the point is that the weakest link WILL be found.
Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by ecshafer on Thursday November 19, 2026 @08:36AM (#50559921)
Good news for the computer industry employees though.
Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by anthk on Thursday November 19, 2026 @05:59AM (#50558537)
At least C folks can use something like BoehmGC and calm down things a little.
Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by pjmlp on Friday November 20, 2026 @02:16AM (#50571219)
BoehmGC is 40 years old by now, it hasn't been for lack of opportunity.
Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by lionkor on Thursday November 19, 2026 @06:38AM (#50558852)
The good news is that this was already the case, and we have tools that check for this; like fuzzers and sanitizers.

Now to get people to use them it's an issue.

Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by stouset on Thursday November 19, 2026 @12:58PM (#50563524)
We have had fuzzers and sanitizers for decades. Despite their widespread use, we still experience a deluge of memory safety issues in memory unsafe languages, including in projects that heavily lean on these tools.

The actual good news is that we have multiple mature languages that entirely remove the need for users to configure and run fuzzers and sanitizers and remember to always obey arcane rules in order to avoid memory corruption.

We’ve been encouraging people to walk, not run, to the exits and switch from C and C++ to memory-safe equivalents. Now it is clear that the time for walking is over and the remaining holdouts should be at the very least jogging if not running.

Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by pjmlp on Friday November 20, 2026 @02:12AM (#50571178)
The problem are the technologies written in them, that we aren't replacing any time sooner.

I work mostly in compiled managed languages, yet have to keep my C and C++ skills sharp, as there is always this or other scenario that requires something written in them, like the runtimes or compiler tools I depend on, because bootstraping is too much work for most implementors.

Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by lionkor on Friday November 20, 2026 @04:51AM (#50572421)
Yes, but to quote an earlier comment:

> Let's say you rewrite your terminal emulator in Rust from C or C++; you'll first undo decades of bug fixes, compatibility decisions, quirks, etc. which you WILL have to deal with eventually. This essentially puts you back at least a decade, because these issues take users using the software to point out to you before they're fixed. The only benefit of this whole game being that you get memory safety. These teams are never the original teams, which is the source of the problem. A rewrite can only succeed if it's a result of all the learned failures and shortcomings of the original, otherwise it's bound to repeat every single mistake and add more on top.

> And you don't even deliver memory safety to the users of the original this way, because people won't use the rewrite, because it's buggy, incompatible, etc.

Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by indemnity on Thursday November 19, 2026 @03:52PM (#50566195)
Ah yes, the "programmers just need to be better" argument.

I would prefer something be impossible by construction.

There are memory-safe options with little/no performance overhead compared to C/C++.

Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by lionkor on Friday November 20, 2026 @04:54AM (#50572446)
> Ah yes, the "programmers just need to be better" argument.

That's not what I said, don't put words in my mouth.

And yes, programmers need to do better. That's not the answer, but the quality of code that the average programmer outputs is abysmal and could be a lot better simply by giving a shit :D

You can avoid a lot of memory issues in C++ already, yet so many people refuse to use these features (like std::array, boost::synchronized_value, std::unique_ptr). If we used these, we wouldn't solve all memory issues, but we would surely have less.

If you interpret me saying "we should do better" as "we don't need Rust because programmers just need to not make mistakes" then I think the ball is in your court.