Everyone, get your update hats on immediately; we’re at DEFCON 1

    • Prove_your_argument@piefed.social
      link
      fedilink
      English
      arrow-up
      37
      arrow-down
      1
      ·
      11 days ago

      application my man. Literally the first paragraph of the article contains:

      If a user simply opens a booby-trapped crafted archive (.7z, .zip, .rar, etc) on a machine with at least 16 GB of RAM, they’ll be running malicious code. Extracting the archive isn’t necessary; only opening it is enough. We recommend that everyone immediately update to the latest version, 26.01, published in late April; all previous versions are vulnerable.

      • Prove_your_argument@piefed.social
        link
        fedilink
        English
        arrow-up
        28
        ·
        11 days ago

        …and because i’m sure people still won’t read the article, this also includes countless things that use 7zip libraries to do zipping actions, including things like file browsers, chocolatey and probably other stuff. 7zip is foss and widely used for all kinds of things t hat go beyond consumer gui usage.

        • AeronMelon@lemmy.world
          link
          fedilink
          English
          arrow-up
          14
          arrow-down
          1
          ·
          11 days ago

          That’s exactly why I asked for clarification. Is this an issue with their executable or is it their compression code?

          I use Keka for macOS, which uses 7zip’s code for handling .7z archives. So I should probably hope for a quick update from them.

          • 4am@lemmy.zip
            link
            fedilink
            English
            arrow-up
            16
            ·
            11 days ago

            You asked if it was the application or the file format.

            Sounds like neither, it’s the compression library.

        • T4V0@lemmy.pt
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          10 days ago

          More often than not, I don’t read the article due to a lemming summing it up nicely for us in the comments lol.

      • KeenFlame@feddit.nu
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        8
        ·
        10 days ago

        So the format.

        Or did we talk about if just having a file allows remote execution?

    • pianoplant@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      ·
      10 days ago
      • high performance legacy software like this often uses low-level languages like c, c++, and assembly
      • these low-level languages are extremely powerful but require manual management of memory
      • that memory management is a common place where bugs like this can be found. This vulnerability is a memory overflow

      This kind of bug’s severity and how easily it is to accidentally introduce is why many high performance applications are moving to the rust programming language, which was specifically designed to try and prevent/minimize memory bugs.

  • purplemonkeymad@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 days ago

    It’s not in the 7z compression format, so it might be worth just flagging any file with the ntfs headers for now? I would like to think that av companies could add that.

  • quick_snail@feddit.nl
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    10 days ago

    That actually doesn’t seem to be so severe.

    How many people download some random archive and then, after extracting it, they double click on the files inside it?

    It says the risk of this vuln is arbitrary code execution of a maliciously crafted archive.

    After fixing this bug, most 7zip users will still be vulnerable to arbitrary code execution due to maliciously crafted archives.

    • SteleTrovilo@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 days ago

      According to the last paragraph, the vulnerability is in reading the archive itself, not the decompressed contents.

      • Kactus@piefed.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        10 days ago

        I think what quick snail is saying is that if you are going to download a malicious zip file you are just as likely to unzip the archive and run the program inside. It’s a lot easier to just have a malicious payload inside the archive.