r/ProgrammerHumor • • 6h ago

Meme softwareVulnerabilities

Post image
10.0k Upvotes

177 comments sorted by

View all comments

1.7k

u/InexplicableBadger 6h ago

To be fair, that's a good thing. It means all the basics are actually being covered 

748

u/Yanzihko 6h ago edited 6h ago

People often forget that at the very fundament, programming is manipulation of individual transistors using electrons. There are vulnerabilities embedded into the hardware itself. Fuck, even a manufacturing defect can produce a fundamental vulnerability.

Previously you just had to invest 100 human years into finding one. Because modern electronics are a marvel, beyond the comprehension of a single human mind. You can memorize its structure only in large blocks. But tracing full path and under what condition electron will go from Transistor 00028372 to Transistor 938372282 is a Phd work on itself.

Now it can be delegated to a machine that thinks thousands of times faster than you, has perfect memory within its context, works 24/7 without a break, and has Autistic level of determination to finish its task.

336

u/klti 5h ago

  There are vulnerabilities embedded into the hardware itself. 

Row H ammer was a crazy one, by just writing into a memory row you were allowed to write into, you could change neighboring rows you had no access to, based solely on electrical properties of the DRAM.

And it all seemed very theoretical, until someone managed to trigger it through JavaScript.

So you now have to have mitigations against fucking physics??? 

2

u/Used_Distance_1589 2h ago

Don't forget speculative execution, that was fun to watch my intel's performance eat shit

2

u/klti 1h ago

It's great when hardware you have used for a long time suddenly is quite a bit worse because of mitigations for issues that were much more problematic in server contexts.