• @narc0tic_bird@lemm.ee
    link
    fedilink
    English
    504 months ago

    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.

    • @aeronmelon@lemmy.world
      link
      fedilink
      English
      234 months ago

      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
        link
        fedilink
        English
        -54 months ago

        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.

    • @john89@lemmy.ca
      link
      fedilink
      English
      18
      edit-2
      4 months 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.

  • @JaddedFauceet@lemmy.world
    link
    fedilink
    English
    144 months ago

    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?

  • @extremeboredom@lemmy.world
    link
    fedilink
    English
    -104 months ago

    But-but I was told Apple’s security was the very best! That’s why they charge so much for everything they make, right? … Right?