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

  • quick_snail@feddit.nl
    link
    fedilink
    English
    arrow-up
    3
    ·
    14 hours 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 hours ago

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

    • Prove_your_argument@piefed.social
      link
      fedilink
      English
      arrow-up
      46
      arrow-down
      1
      ·
      1 day 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
        35
        ·
        1 day 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.

        • T4V0@lemmy.pt
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          1
          ·
          13 hours 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.

        • AeronMelon@lemmy.world
          link
          fedilink
          English
          arrow-up
          14
          arrow-down
          1
          ·
          1 day 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
            ·
            23 hours ago

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

            Sounds like neither, it’s the compression library.

      • KeenFlame@feddit.nu
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        10
        ·
        19 hours ago

        So the format.

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

  • purplemonkeymad@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    18 hours 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.

    • pianoplant@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      ·
      22 hours 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.