this post was submitted on 28 Jan 2025
277 points (97.3% liked)

Technology

61203 readers
4603 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
top 30 comments
sorted by: hot top controversial new old
[–] JaddedFauceet@lemmy.world 12 points 17 hours ago (1 children)

FLOP abuses the LVP in a way that allows the attacker to run functions with the wrong argument—for instance, a memory pointer rather than an integer.

is this a vulnerability in the software? So patching this won't require disabling speculative execution?

[–] ozymandias117@lemmy.world 12 points 16 hours ago

Hardware. There's a load value predictor that guesses the value of a load from memory

https://predictors.fail/

[–] narc0tic_bird@lemm.ee 62 points 1 day ago (4 children)

Speculative execution seems to be the source of a lot of security flaws in many different CPUs. CPU manufacturers seem to be so focused on winning the performance race that security aware architecture design takes the backseat.

Also, it's more and more clear that it's a bad idea that websites can just execute arbitrary code. The JS APIs are way too powerful and complex nowadays. Maybe websites and apps should've stayed separate concepts instead of merging into "web apps".

I also wonder if it'd be possible to design a CPU so vulnerabilities like these are fixable instead of just "mitigable". Similar to how you can reprogram an FPGA. I have no clue how chip design works though, but please feel free to reply if you know more about this.

[–] fmstrat@lemmy.nowsci.com 4 points 6 hours ago

Fast for the benchmarks. "We'll make it slower and safer later."

[–] cellardoor@lemmy.world 2 points 7 hours ago

Take a look at ARM Morello and CHERI.

[–] grue@lemmy.world 10 points 20 hours ago (1 children)

Also, it’s more and more clear that it’s a bad idea that websites can just execute arbitrary code. The JS APIs are way too powerful and complex nowadays.

Javascript in general was a mistake, and always has been.

The web should've had Scheme or Python instead. Or better yet, we shouldn't have given up so quickly on Java Web Start because then we could've had proper web applications with their own windows and native UIs and such.

Maybe websites and apps should’ve stayed separate concepts instead of merging into “web apps”.

Damn straight!

[–] OmegaLemmy@discuss.online -1 points 10 hours ago

Oh no, not python!

[–] Unmapped@lemmy.ml 16 points 1 day ago* (last edited 1 day ago) (1 children)

Being a Linux user I really like everything being ran in the browser. What if we just have more control of which JS APIs can be used? On a site by site bases. Which I assume can probably already be done with extensions.

[–] JaddedFauceet@lemmy.world 4 points 18 hours ago* (last edited 18 hours ago)

Some browsers such as cromite disable JIT compilation and WebAssembly by default. Allowing you to opt-in to enable these features on a site by site bases.

JIT and WebAssembly have been the source of many high profile CVE in browser recently including the one mentioned in the post (well, this one is on Safari's Chrome).

relevant research

[–] WeirdGoesPro@lemmy.dbzer0.com 55 points 1 day ago (3 children)

I need a bigger nerd than me to explain how much Apple users need to worry about this.

[–] john89@lemmy.ca 23 points 1 day ago* (last edited 1 day ago)

The main issue with these vulnerabilities is a loss in performance when the microcode patch gets applied.

On a more philosophical note, it's also a trend to release insecure products to tout performance metrics. Intel did it. Now it's apple's turn.

Don't trust corporations, ever.

[–] Xatolos@reddthat.com 66 points 1 day ago (2 children)

Very. It's unpatchable. It's taking advantage of a speculative execution flaw, which is baked into the CPU microcode. This is the Apple M-chip version of Spectre/Meltdown that happened on x86 CPUs a few years ago.

The best Apple can do is attempt to add some code to the OS to help prevent this issue, but if Spectre was any example, it'll cause a hit to the CPU performance.

[–] narc0tic_bird@lemm.ee 27 points 1 day ago

The researchers published a list of mitigations they believe will address the vulnerabilities allowing both the FLOP and SLAP attacks. They said that Apple officials have indicated privately to them that they plan to release patches.

So this'll likely be mitigated soon, and while you're probably right about the performance hit (which will likely be minor), I don't think (most) Apple users need to be very worried about this.

[–] coherent_domain@infosec.pub 23 points 1 day ago

Oh, yet another speculative execution flaw...

[–] aeronmelon@lemmy.world 31 points 1 day ago (1 children)

This is a real problem, and Apple can’t patch it out of the hardware. The only thing they can do is write software to run in advance of hardware execution to “randomize” when and where memory is written to and read from. That will slightly decrease the performance of these chips. The “older” chips from 2021 would see the worst performance reduction. M3 users probably won’t even be able to tell.

The attack vector is a web browser. Even a completely updated safari is vulnerable, but Chrome is seemingly easier to exploit (the way browsers store website data in memory is the key). An encrypted browser won’t change anything because the attack is reading the unencrypted data being displayed to the user.

It takes several minutes for a compromised website to perform the attack. So basic sense practices apply. If you think a website is unsafe, don’t open it. If you think something is happening, closing the suspicious sites immediately might stop the attack before any damage is done. I don’t know how easy it would be to compromise a trusted site, but it’s been done in the past.

Apple could potentially patch Safari to do things that make it harder for the attack to work correctly, and you can bet they’re already retooling the next generation of processors to get rid of this exploit. They did the same thing when an unpatchable exploit was found in the M1 series, M2s have a stopgap measure, and M3s were redrawn to make it an nonissue.

[–] john89@lemmy.ca -4 points 1 day ago (2 children)

If you think a website is unsafe, don’t open it.

Ahh yes, back to the dark ages of the internet where just clicking the wrong link can completely compromise your system.

Thanks crapple and its useful idiots.

[–] CommanderCloon@lemmy.ml 0 points 5 hours ago (1 children)

You do realize this kind of attack first appeared on x86 hardware, right?

https://thehackernews.com/2024/10/new-research-reveals-spectre.html?m=1

[–] john89@lemmy.ca 1 points 3 hours ago

Yes, I realize that.

You do realize that this kind of attack happened after spectre and meltdown? Apple knew of the risks, but decided to ignore them.

[–] boonhet@lemm.ee 5 points 14 hours ago (1 children)

I mean, Intel did it first and I do believe AMD and Qualcomm also followed suit.

[–] john89@lemmy.ca 1 points 3 hours ago* (last edited 3 hours ago)

Yes, and Apple decided to do the same thing knowing the risks.

"Intel did it!" is not a panacea for apple; it makes things worse for them.

[–] Thistlewick@lemmynsfw.com 29 points 1 day ago (1 children)

FYI

“ They also said they don't know if browsers such as Firefox are affected because they weren't tested in the research.”

Seems you should be fine if you follow the usual protocols though: don’t open suspicious links, check urls, that sort of thing. I expect a frantic phone call from my mother-in-law who has an iPhone 8 any minute now…

[–] nightwatch_admin@feddit.nl 16 points 1 day ago

Run an adblocker. Seriously, ads are nothing but other websites in the same browser - exactly the kind of thing that is the basis of this problem.