If you're running version 5.6.0 or 5.6.1, downgrade immediately.

  • @Faresh@lemmy.ml
    hexbear
    23
    2 months ago

    Do not run xz --version. Instead check the version in your package manager.

    • @heyfrancis@lemmy.ml
      hexbear
      14
      edit-2
      2 months ago
      debian/ubuntu based distros:
      apt show xz-utils
      or
      dpkg -l | grep xz
      
      redhat/fedora-based:
      yum info xz
      dnf info xz
      
      arch-based:
      pacman -Qi xz
      

      EDIT: correction as suggested below

    • LibsEatPoop [any]
      hexagon
      hexbear
      6
      2 months ago

      Why is that? I know the latter gives you more info, but it's still the same thing isn't it?

      • @Faresh@lemmy.ml
        hexbear
        20
        2 months ago

        Because you are running the affected software. It's a bad idea to run something if we are aware that it contains or relies on malicious code.

        • LibsEatPoop [any]
          hexagon
          hexbear
          15
          2 months ago

          Omg obviously. Can't believe I didn't realize that. Thanks for the answer.

    • CoolYori [she/her]
      hexbear
      12
      2 months ago

      For me I feel like we have not had any big security stuff since the whole log4j thing. While this seems bigger they have caught it relatively early. I feel like more people had to panic patch Minecraft servers with log4j.

      • yuli [she/her]
        hexbear
        7
        2 months ago

        maybe the libwebp vulnerability deserves a honorable mention, although i don’t think it has had as big an impact, it could’ve been way worse.

      • @henfredemars@infosec.pub
        hexbear
        6
        2 months ago

        My only reservation is that this compromised contributor has been working on the project for a few years. I hope that this is the end of the tunnel and there aren’t more issues to be uncovered with further analysis.

        • CoolYori [she/her]
          hexbear
          12
          2 months ago

          Its easy to spiral out of control thinking about how the practice that got us this backdoor is something that is used all over the open source community to build code. In the end we can only evaluate what is in front of us and pray the things lurking in the shadows are something we can deal with when they expose themselves.

    • hello_hello [they/them, comrade/them]
      hexbear
      6
      edit-2
      2 months ago

      The only people who will have this vulnerability AFAIK (and have it be actionable with the ssh backdoor) are folks running Debian unstable on a ssh server. The shitty part about this is a rupture in trust for the maintainers at xz.

      Honestly, the attacker picked a really shitty time frame considering their payload isn't in any important point releases where they could have the most effect.

  • itappearsthat [he/him]
    hexbear
    14
    edit-2
    2 months ago

    How to check your version without running xz on nixOS, the official OS of trans people:

    ls -l $(which xz)
    

    I'm at 5.4.4 thankfully.

    • anarchoilluminati [comrade/them]
      hexbear
      2
      2 months ago

      Phew. Same.

      So, what do we do in this case to avoid contamination via updating? Just don't "sudo apt upgrade" for a while?

      • Abracadaniel [he/him]
        hexbear
        4
        2 months ago

        I'm no expert, but I'd assume the repository maintainers would pull the malicious packages ASAP. check to see if you have any updates available, if the malicious version is not available then you're chilling squidward-chill

  • @Saff@lemmy.ml
    hexbear
    7
    2 months ago

    So I assume the malicious code is being removed and a version 5.6.2 without it will be released soon? Or is it more complex to solve and I’m being naive?

    • CoolYori [she/her]
      hexbear
      10
      edit-2
      2 months ago

      So the backdoor was not in the source code but in the system used to build the code. Devs for a long time now have swapped over to an automated build system and what happened with this one is in the last step for the xz build process it adds the backdoor to it. You simply have to remove the references to the data in the build config.

      EDIT: Rewrote a sentence that sounded stupid

    • @FriendBesto@lemmy.ml
      hexbear
      5
      edit-2
      2 months ago

      Something like that. It should be patched shortly. Thank god for smart people and autists.

  • RyanGosling [none/use name]
    hexbear
    5
    2 months ago

    Does it spread itself to other parts of the system, or it contained exclusively within locations used by this program?

    • itappearsthat [he/him]
      hexbear
      16
      2 months ago

      People aren't 100% sure yet but preliminary analysis believes it is contained. Look forward to excrutiatingly-detailed levels of analysis to be published in the coming days and weeks, this is like every Foss Discourse topic tossed into a blender all at once.

  • FumpyAer [any, comrade/them]
    hexbear
    3
    2 months ago

    Good thing I disassembled my laptop this week.

    Haven't updated since last month, is this a newly released vulnerability?