| Post Reply | RetroFed Forums Forum Index » Linux |
| Author | Message | ||
|---|---|---|---|
misk
piefed.social
misk@piefed.socialJoined: 2025-03-15 |
|
||
| 115 Original | |||
TheTechnician27
lemmy.world
TheTechnician27@lemmy.worldJoined: 2024-07-25 |
It's a day ending in 'y' and we've found another RCE that wouldn't exist in a modern language designed to catch things like integer under/overflow. |
||
| 19 | |||
|
Tja
programming.dev
Tja@programming.dev Joined: 2023-12-18 |
SMB Direct remote code execution vulnerability due to integer underflow. It's a day ending in 'y' and we've found another RCE that wouldn't exist in a modern language designed to catch things like integer under/overflow.
Yes, we get it, you like rust. |
||
| 23 | |||
|
lukalix98
programming.dev
lukalix98@programming.dev Joined: 2025-05-09 |
SMB Direct remote code execution vulnerability due to integer underflow. It's a day ending in 'y' and we've found another RCE that wouldn't exist in a modern language designed to catch things like integer under/overflow.
Start stroking your keys on your keyboard in said language and fix the RCE yourself instead of typing stuff here that contributes to nothing. |
||
| -12 | |||
|
stembolts
programming.dev
stembolts@programming.dev Joined: 2023-07-11 |
I only program in Excel conditional statements and I never get these vulnerabilities. Excel is therefore proven the most secure coding language, and like a Swiss pocket knife it doubles as an industrial grade database. (pats hood) Listen to that xls(x) purrr.. Oh no sorry I can't show you right now, I had to open my spreadsheet so it'll be a few hours til I can start work. |
||
| 39 | |||
TheTechnician27
lemmy.world
TheTechnician27@lemmy.worldJoined: 2024-07-25 |
Yes, we get it, you like rust.
I mean yes, I do, given safe Rust inherently fixes seemingly every exploit listed in this article:
I feel like it's the 1960s and I'm being told "we get it, you like seatbelts". Edit: Sorry, re: the first one. I was misremembering based on a mix of a few things (see below). It does this in debug mode (which in itself is good to have), and it won't compile if it can detect an overflow statically, but it's not checking over/underflow at runtime by default. It can do this if you want it to, but that's an inherent speed penalty from C. I was thinking of Swift, which does automatically detect integer under/overflow at runtime unless you explicitly tell it not to on a per-operator basis. In the spirit of not making you "trust me bro" since I was so wrong about the integer under/overflow one, here's Rust's overview of how safe Rust guarantees against data races. |
||
| 30 | |||
Ooops
feddit.org
Ooops@feddit.orgJoined: 2024-07-06 |
TIL KSMBD exists... and seemingly with some very strange priorities what gets implemented. |
||
| 5 | |||
TheTechnician27
lemmy.world
TheTechnician27@lemmy.worldJoined: 2024-07-25 |
Start stroking your keys on your keyboard in said language and fix the RCE yourself instead of typing stuff here that contributes to nothing.
"Quit complaining about fixable systemic issues unless you're able to personally go fix them yourself. Bridges collapsing due to negligent engineering practices? Go survey and fix them yourself. I am very smart." |
||
| 53 | |||
hoshikarakitaridia
lemmy.world
hoshikarakitaridia@lemmy.worldJoined: 2023-07-31 |
I mean yes, I do, given safe Rust inherently fixes seemingly every exploit listed in this article: RCE from integer overflow (not possible by default in Rust, CVSS 9.0) RCE from a race condition (not possible in safe Rust, CVSS 9.0) An exploit of a buffer copy An out-of-bounds write leading to local privilege escalation Using an uninitialized resource TCP query stack buffer overflow leading to ...
Yeah because the way you said it is extremely dick-ish and sounds like someone trying to push their preferred language onto others. |
||
| -16 | |||
TheTechnician27
lemmy.world
TheTechnician27@lemmy.worldJoined: 2024-07-25 |
Yeah because the way you said it is extremely dick-ish and sounds like someone trying to push their preferred language onto others.
> "sounds like someone trying to push their preferred language onto others." > didn't even name Rust in the first comment I literally only talked about Rust when someone else mentioned it, because I'm not specifically talking about Rust. Whereas yes, Rust is relevant to the Linux kernel for obvious reasons (matching C's speed and being easily interoperable with it), I said "a modern language" because I'm talking generally about the use of old, unsafe languages and major exploits surrounding problems that modern languages fix cropping up every 5 seconds. I'm not going to police my own tone about what are clearly negligent engineering practices. SWE should be treated with the same level of scrutiny as other engineering fields when its poor, outdated practices are constantly causing accelerating worldwide damage. |
||
| 30 | |||
Sir. Haxalot
nord.pub
SirHaxalot@nord.pubJoined: 2026-02-03 |
At least it sounds like the 9.0 ones only affect systems that are running SMB Direct, which sounds like a pretty niche setup |
||
| 6 | |||
|
[object Object]
lemmy.ca
panda_abyss@lemmy.ca Joined: 2025-07-20 |
I only program in Excel conditional statements and I never get these vulnerabilities. Excel is therefore proven the most secure coding language, and like a Swiss pocket knife it doubles as an industrial grade database. (pats hood) Listen to that xls(x) purrr.. Oh no sorry I can't show you right now, I had to open my spreadsheet so it'll be a few hours til I can start work.
https://youtube.com/watch?v=IrVA1BBHFHw&ra=m Oh, sorry, I couldn’t hear you over this BITCHING ROLLER COASTER BUILT IN EXCEL I got sent an excel file with a full volumetric heat diffusion simulation once, and it was most impressive thing until I heard about this roller coaster |
||
| 20 | |||
TheTechnician27
lemmy.world
TheTechnician27@lemmy.worldJoined: 2024-07-25 |
https://youtube.com/watch?v=IrVA1BBHFHw&ra=m Oh, sorry, I couldn’t hear you over this BITCHING ROLLER COASTER BUILT IN EXCEL I got sent an excel file with a full volumetric heat diffusion simulation once, and it was most impressive thing until I heard about this roller coaster
Chris Sawyer really went off the deep end after programming RCT in assembly. |
||
| 6 | |||
|
stembolts
programming.dev
stembolts@programming.dev Joined: 2023-07-11 |
https://youtube.com/watch?v=IrVA1BBHFHw&ra=m Oh, sorry, I couldn’t hear you over this BITCHING ROLLER COASTER BUILT IN EXCEL I got sent an excel file with a full volumetric heat diffusion simulation once, and it was most impressive thing until I heard about this roller coaster
What. The. Fuck. Amazing |
||
| 5 | |||
|
undefinedTruth
lemmy.zip
undefinedTruth@lemmy.zip Joined: 2025-09-25 |
Can I at least get some sleep please? Jeez... How many more fires I will have to put out this week? |
||
| 10 | |||
|
jdr
lemmy.ml
jdr@lemmy.ml Joined: 2021-07-28 |
> "sounds like someone trying to push their preferred language onto others." > didn't even name Rust in the first comment I literally only talked about Rust when someone else mentioned it, because I'm not specifically talking about Rust. Whereas yes, Rust is relevant to the Linux kernel for obvious reasons (matching C's speed and being easily interoperable with it), I said "a modern langu...
Everyone is sick of this low effort advocacy |
||
| -15 | |||
|
onlinepersona
programming.dev
onlinepersona@programming.dev Joined: 2023-09-01 |
Everyone is sick of this low effort advocacy
I'm not. Keep going @TheTechnician27@lemmy.world |
||
| 11 | |||
|
AmbiguousCabbage
lemmy.dbzer0.com
AmbiguousCabbage@lemmy.dbzer0.com Joined: 2026-10-04 |
Everyone is sick of this low effort advocacy
Idk, I find it pretty informative. |
||
| 10 | |||
|
jdr
lemmy.ml
jdr@lemmy.ml Joined: 2021-07-28 |
Idk, I find it pretty informative.
Cool, that's fine. I think it was clear I didn't mean literally everyone. At least for me the boosterism has been pretty relentless for many years, taking over from the Python dogmatism before that. The languages are cool and have many nice aspects, the volunteer advertising is tiresome though. |
||
| -4 | |||
ExLisper
lemmy.curiana.net
ExLisper@lemmy.curiana.netJoined: 2025-03-22 |
Everyone is sick of this low effort advocacy
How dare people post facts about modern tools in a tech oriented community!? So sick of it! |
||
| 5 | |||
|
zqps
sh.itjust.works
zqps@sh.itjust.works Joined: 2024-10-14 |
"Quit complaining about fixable systemic issues unless you're able to personally go fix them yourself. Bridges collapsing due to negligent engineering practices? Go survey and fix them yourself. I am very smart."
"We should improve safe coding standards somewhat." - "And yet you participate in software engineering..." |
||
| 7 | |||
|
diaphragmwp
discuss.tchncs.de
diaphragmwp@discuss.tchncs.de Joined: 2026-06-03 |
I mean yes, I do, given safe Rust inherently fixes seemingly every exploit listed in this article: RCE from integer overflow (not possible by default in Rust, CVSS 9.0) RCE from a race condition (not possible in safe Rust, CVSS 9.0) An exploit of a buffer copy An out-of-bounds write leading to local privilege escalation Using an uninitialized resource TCP query stack buffer overflow leading to ...
OpenBSD makes pointless seemingly every exploit listed in this article (correct me if I am wrong). The lead is anti-rust. |
||
| 1 | |||
LaggyKar
programming.dev
LaggyKar@programming.devJoined: 2023-06-17 |
I mean yes, I do, given safe Rust inherently fixes seemingly every exploit listed in this article: RCE from integer overflow (not possible by default in Rust, CVSS 9.0) RCE from a race condition (not possible in safe Rust, CVSS 9.0) An exploit of a buffer copy An out-of-bounds write leading to local privilege escalation Using an uninitialized resource TCP query stack buffer overflow leading to ...
It is possible. Rust will check for overflow and panic in debug builds, but will silently wrap integers in release builds. |
||
| 7 | |||
TheTechnician27
lemmy.world
TheTechnician27@lemmy.worldJoined: 2024-07-25 |
RCE from integer overflow (not possible by default in Rust It is possible. Rust will check for overflow and panic in debug builds, but will silently wrap integers in release builds.
Yeah, you're right. I was thinking of a combination of Rust's debug mode, the fact it won't compile if it detects a static under/overflow, and Swift's default producing a runtime error on integer under/overflow. Corrected; I apologize. |
||
| 2 | |||
| Post Reply |
Back to top |