Every decision in that chain is either laziness or the consequence of some other laziness. A hash function returning * because NULL would crash programs? Passwords set to * because it doesn't match any known hash key? Have you tried not being lazy and actually checking for errors whenever you call a fallible function?
This isn't a memory bug and no undefined behaviour is taking place, yet against all odds:
"No way to prevent this" says only language where this regularly happens.
Dereferencing NULL actually is undefined behavior in C, and compilers are allowed to optimize under the assumption that it does not happen, leading to some really weird stuff sometimes, including exploitable memory safety issues.
You're probably either writing an embedded system or a kernel and not really in normal C anymore (though C apparently allows NULL to be nonzero, though NULL == 0 must return true, or something. Basically everything these days has NULL as zero).
It's evolution in action! A function does a thing, people use it in whatever way works at that time. If it doesn't break immediately, it sticks around. Then something mutates somewhere in the chain and you get brand new functionality (in this case, a magic password skip)
4 is completely random, though, that's probably why no one ever tried it.
Anyway, am I the only one weirded out by the fact that entire communities are just happily "improving" crypto algorithms on their own? I see that the "people" in this case are the contributors to these very important Linux distros, so presumably they have some gravitas, but it still seems weird.
If anything, it's even more weird, isn't it?
At least for me, I had learned "don't roll your own fucking cryptography" very early on and absorbed it as a fundamental tenet. It's a bit odd to see so many different patches that are happily slamming in new constants and new early-returns to "optimize" established cryptography algos.
Anyway, I'll add this to the list of reasons that I'm happy I've retired at this point. I'm going to go leap into action by smoking some weed and making a sandwich. I wish all of you a very nice sandwich as well.
“Thing appears to be secure for 30 years” and “thing is actually secure for 30 years” are two different things but it’s really hard to tell the difference without doing a deep dive and when’s the last time you exhaustively examined the behavior of your cryptography to the point of looking at every single dependency with a fine toothed comb?
Every system is a collection of a million different decisions piled on top of other decisions with varying levels of time and caution applied, and every decision at the time seems reasonable for the situation you’re in. Complex systems fail in complex ways, and ultimately failure is fundamentally unavoidable.
The 4 key was not completely random. It was a testing key that they put into production by mistake, alongside the other keys which were all <256. They all had only 1 byte of entropy because they were supposed to be testing keys
At least it wasn’t 0. I have encountered some big tech company code that used 0 as the nonce for their encryption. Not quite as bad as the key, but opens you up to replay attacks and a few other things.
I do wonder if recent CVEs were discovered using close-sourced models (claude, GPT, etc) or abliterated open-weighted models (anything under 31B, for example?)
It's not even funny anymore, I took down access to my entire homeland since I couldn't keep up with the cve's in my free time. Also the meme unironically took 30 secs in gimp
The issue is that I don't really have any sort of image editor on my computer...so I'd have to go online and find a web-based editor and create one on there... I know it'd have taken at worst 5 minutes even going the longer route but I...don't have an excuse for that, sorry 😅
Are we happy with AI yet? Because I would have preferred if this one stayed buried... Especially since it's the "no interaction required" kind. But ever since vibecoding in Windows lead to a memory leak in Task Manager of all things, I have 0 faith in Microsoft anymore.
Thinking of a friend of mine who’s a swe and whose entire department got laid-off from ms last year only to see this kind of bullshit come up is hysterical.
While programming is in a perilous spot, cyber security seems to be a booming business.
And a necessary one. I don't know if you heard but recently in Europe there's been a lot of hacks in supermarkets and food stores, turning off refridgerators and freezers, causing hundreds of millions of euros in damages in my country alone (Netherlands). Worst case of this was a bloodbank where the blood storage was set to 230 degrees instead of freezing the blood.
If you want to pivot for job security, get into cybersecurity.
787
u/Saptarshi_12345 21d ago
Details: https://sshhole.com/
170
u/shuozhe 21d ago
Let's just shut the Internet down until all the AI company gone bankrupt or too many people starved to do stupid stuffs
44
u/PossibilityUsual6262 21d ago
Not a repost huh.
1.5k
u/Pan4TheSwarm 21d ago
Lmao why do I learn about new security issues via reddit memes?
183
u/rbbdk 21d ago
Eat, sleep, patch, repeat.
49
u/dities 21d ago
Ah shit, here we go again
99
u/OmegaPoint6 21d ago
71
u/LogicalGamer123 21d ago
Oh shit, I’m like 99% sure I have passwords disabled I use key based auth on alpine gotta check
33
u/Imaginary-Jaguar662 21d ago
Ayyyy!
I'm tired boss. Can we call this force majeure and not pull another all nighter?
20
u/SouthernAddress5051 20d ago
We're fixing 20 years of hand coded bugs lol
22
u/Grintor 21d ago
https://xkcd.com/424/
10
u/jaffparker 21d ago
The meme implies that you never go to sleep, so you're just stuck in 15 layers of dreams about CVEs, which would be great compared to reality 🥲
19
u/neostark24 21d ago
9
u/Ok_Confusion4764 21d ago
Y'all talking about the 8.1/10 cve in ms paint or is there another one?
14
u/Cercle 21d ago
It's for most default musl implementations of openssl, not just alpine but openwrt, void too
6
u/government_sponsored 21d ago
Man we are patching and rebooting everything every day it feels like.
4
u/Alecjasperk 21d ago
I thought, you'd grab a brush and put a little makeup
4
u/C_C4K 21d ago
Stop waking up then /s
3
u/thrashmash666 21d ago
1
u/lady_mont 21d ago
What CVE now?
1
u/Blurkid 21d ago
You're in an infinitly nested sleep ?
1
u/kr4t0s007 20d ago
*critical CVE.
1
u/halfwagaltium 20d ago
Alpine ? F1 Team Car manufacturerer ?
1
u/PyroCatt 20d ago
You don't go to sleep?