When the xz backdoor was discovered, I quickly uninstalled my Arch based setup with an infected version of the software and switched to a distro that shipped an older version (5.5 or 5.4 or something). I found an article which said that in 5.6.1-3 the backdoor was “fixed” by just not letting the malware part communicating with the vulnerable ssh related stuff and the actual malware is still there? (I didn’t understand 80% of the technical terms and abbreviations in it ok?) Like it still sounds kinda dangerous to me, especially since many experts say that we don’t know the other ways this malware can use (except for the ssh supply chain) yet. Is it true? Should I stick with the new distro for now or can I absolutely safely switch back and finally say that I use Arch btw again?

P. S. I do know that nothing is completely safe. Here I’m asking just about xz and libxzlk or whatever the name of that library is

EDIT: 69 upvotes. Nice

  • Responsabilidade@lemmy.eco.br
    link
    fedilink
    arrow-up
    138
    arrow-down
    2
    ·
    7 months ago

    Arch wasn’t affected at all, cause the backdoor trigger was only on deb and rpm distros.

    However it still a good practice to update your system and leave this version behind. Anyway, Arch already updated and is no longer distributing the backdoor version, therefore 5.6.1-3 is safe

    You can use Arch btw again. Actually, you never had to leave it at first

    • pastermil@sh.itjust.works
      link
      fedilink
      arrow-up
      37
      ·
      7 months ago

      To add to your point: The .deb ones are most likely safe, since it would only be on the unstable & experimental branches. Your garden variety production servers & personal computers should be fine. That is unless you’re into some unusual setup like with playing around with the upcoming version, or for some reason are pulling your own xz build.

      Can’t speak for the .rpm tho.

      • narc0tic_bird@lemm.ee
        link
        fedilink
        arrow-up
        12
        ·
        7 months ago

        Fedora 39 and 40 (which is still in beta) uses xz 5.4. Fedora 41/rawhide (essentially the development branch) was affected it seems: https://access.redhat.com/security/cve/CVE-2024-3094. CentOS Stream and RHEL have way more outdated packages than that, so they were never vulnerable to this backdoor.

        openSUSE Tumbleweed (their rolling release) was affected: https://news.opensuse.org/2024/03/29/xz-backdoor/, Enterprise or Leap were unaffected.

        • pastermil@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          7 months ago

          Ah, so the .rpm is pretty much like the .deb in that it’s mostly unaffected. Speaking of, I think the .deb side may have VanillaOS affected since it’s based on Debian’s unstable branch.

      • r00ty@kbin.life
        link
        fedilink
        arrow-up
        7
        ·
        7 months ago

        Yeah, I checked myself when this was first a thing. Debian 12 and Ubuntu 22.04 latest are on 5.4 and 5.2 respectively.

      • 30p87@feddit.de
        link
        fedilink
        arrow-up
        4
        ·
        7 months ago

        “Safe” is a strong word to use. It’s safe from that specific backdoor, and it seems like the known backdoor was the main goal of the attackers, but we don’t know if they’re playing 4D-Chess and have already implemented another backdoor which they’re actively using.

    • GolfNovemberUniform@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      23
      ·
      7 months ago

      I know that Arch wasn’t affected but it’s only true for the known ssh backdoor. Afaik that thing can contain 100+ more “viruses” in it that we don’t yet know about. And btw I was using a distro that was quite a bit different to Arch (no, not Manjaro) so idk if it was any safer than Debian sid

      • Responsabilidade@lemmy.eco.br
        link
        fedilink
        arrow-up
        27
        ·
        edit-2
        7 months ago

        Well, until someone find a new backdoor, I call it safe again

        I’ll not lose my mental health to a potentially and unknown shady backdoor that could be installed or not in a lib

          • 4am@lemm.ee
            link
            fedilink
            arrow-up
            22
            ·
            7 months ago

            What about all the unknown back doors in the old versions 👻

          • Strit@lemmy.linuxuserspace.show
            link
            fedilink
            arrow-up
            21
            ·
            7 months ago

            If you worry about potential other backdoors in newer XZ versions, then you should also look into your kernel, systemd, dbus etc etc. All these things, can potentially contain backdoors that no one knows about yet.

            As for currently known backdoors, the Arch versions are safe.

            • GolfNovemberUniform@lemmy.mlOP
              link
              fedilink
              arrow-up
              4
              arrow-down
              5
              ·
              7 months ago

              Of course backdoors can be anywhere. I was worried about this one especially because somewhere I read that the malicious code wasn’t removed but just restricted with some hacky stuff in 5.6.1-3. It turned out to be false, at least for Arch, so, in case the new information is true, I can switch back I guess. Using a “safe” version of Arch is better than running all the apps as Flatpaks that can still have the infected version of xz libraries as dependencied anyways

          • bizdelnick@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            7 months ago

            So you need to downgrade to even earlier version. Best of all, use a fork created by Joey Hess.

              • bizdelnick@lemmy.ml
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                7 months ago

                I don’t know for sure, it depends on changes in the liblzma API. If there were any changes (backward compatible or not, usually nobody cares about forward compatibility), yes, recompiling is required.

          • pmk@lemmy.sdf.org
            link
            fedilink
            arrow-up
            1
            ·
            7 months ago

            This is the reason I keep an OpenBSD system around. Maybe it’s a false sense of security, but I feel that they are pickier about the base system at least.

              • pmk@lemmy.sdf.org
                link
                fedilink
                arrow-up
                2
                ·
                7 months ago

                Afaik, no. Worth mentioning is that the fundamental design of the major BSDs is to clearly separate the core OS from third party applications. But as far as just being able to use Flathub or similar, I don’t think so. If any BSD has experimented in that direction my bet would be FreeBSD.

                • GolfNovemberUniform@lemmy.mlOP
                  link
                  fedilink
                  arrow-up
                  1
                  arrow-down
                  1
                  ·
                  edit-2
                  7 months ago

                  I can’t use it then. I need some apps that are definitely not available natively on BSD. Thank you for the information though

      • Petter1@lemm.ee
        link
        fedilink
        arrow-up
        9
        ·
        7 months ago

        Well, we don’t really know if there are backdoors in the old version as well, applying your logic

        • GolfNovemberUniform@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          7 months ago

          I meant a little bit different thing. Someone already explained how the issue was fixed and it seems safe enough to me