• Rodeo@lemmy.ca
    link
    fedilink
    arrow-up
    112
    arrow-down
    2
    ·
    8 months ago

    Panik: your Debian stable system is so ancient it still contains the heartbleed bug.

  • recapitated@lemmy.world
    link
    fedilink
    arrow-up
    105
    arrow-down
    1
    ·
    8 months ago

    The xz infiltration is a proof of concept.

    Anyone who is comforted by the fact they’re not affected by a particular release is misguided. We just don’t yet know the ways in which we are thoroughly screwed.

    • BURN@lemmy.world
      link
      fedilink
      arrow-up
      21
      arrow-down
      1
      ·
      8 months ago

      This is a huge wake up call to OSS maintainers that they need to review code a lot more thoroughly. This is far from the last time we’re going to see this, and it probably wouldn’t have been caught if the attacker hadn’t been sloppy

      • ulterno@lemmy.kde.social
        link
        fedilink
        English
        arrow-up
        28
        ·
        edit-2
        8 months ago

        https://upvote.au/comment/818245

        Nah, I’d say the chap was pretty unsloppy.
        Just that we were lucky that someone found it.

        It’s a good thing that xz is a type of program that people may want to profile.

        But this is an eye opener for people saying that Linux is “secure” (not more secure, but just secure .) because the code has many eyes on it. --> jump to digression.

        This confirms my suspicion that we may be affected by the bystander effect, so we actually have less eyes than required for this.


        digression:

        • of course I don’t mean that this makes Linux less secure than Windows. The point that it makes it more secure than Windows/MacOS or other closed source systems is already apparent.
          • Just that, we can’t consider Linux to be secure (without comparing it to something less secure) as many ppl would, when evangelising Linux.

        My point being, tell the whole truth. The newbie that’s taking your advice will thank you for that later on.

        • BURN@lemmy.world
          link
          fedilink
          arrow-up
          16
          arrow-down
          1
          ·
          8 months ago

          The reason I consider this sloppy is because he altered default behavior. Done properly, an injection like this probably could have been done with no change to default behavior, and we’d be even less likely to have gotten lucky.

          Looking back we can see all the signs pointing to it, but it still took a lot of getting lucky to find it.

          I’ve always considered the “source is open so people can check for vulnerabilities” saying a bit ironic, because I’d bet 99% of us never look, nor could find it if we were looking. The bystander effect is definitely here as we all just assume someone else has audited it.

          • ulterno@lemmy.kde.social
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            1
            ·
            8 months ago

            Done properly, an injection like this probably could have been done with no change to default behaviour,

            Interesting.
            So the sloppiness was in the implementation and not the social engineering.
            But then of course, people tend to be not good at both, fooling people and fooling programmers/computers at the same time. In this case, the chap turned out to be better at fooling people than programmers/computers.


            And I am being sloppy for not trying to learn enough about exploits even though I should have a good enough programming base to start it.

        • TheHarpyEagle@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          8 months ago

          It’s a rough balance when you’re trying to convince people unfamiliar with the internals (let alone non technical people) to make the switch. Saying “Linux is safe, but not bulletproof” may scare them back to the devil they know even if there’s no greater guarantee of safety there.

          • ulterno@lemmy.kde.social
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            2
            ·
            edit-2
            8 months ago

            Of course, maybe I am being too hard on people by expecting everyone to put more thought into everything they make a decision for. But it is in fact the lack of thought that tends to cause problems in all areas we see nowadays.
            But that’s a topic for somewhere else.


            We can simply go by “Linux is more bulletproof than Windows”; instead of calling it “safe”, which would also be wrong.
            Also with, “Windows will shoot you with intent, Linux might just get some stray shrapnel.”

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      6
      ·
      8 months ago

      I’m just waiting for the backdoor to be found in Firefox and Chromium or some library shared by most applications.

      • exuA
        link
        fedilink
        English
        arrow-up
        5
        ·
        8 months ago

        Like libwebp a few months back? Or Log4j?

      • Gabu@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        The thing about browsers is that there are so many accidental exploits already, it makes little sense to introduce your own on top of it.

    • GreatDong3000@lemm.ee
      link
      fedilink
      arrow-up
      2
      arrow-down
      4
      ·
      8 months ago

      I always just assumed all the distros I use have backdoors as a fact of life. I take comfort in not being a person of interest to anyone and just blend in with the crowd. I also don’t use windows because for every backdoor my Debian may have, windows will have 100 more. Servers don’t get hacked all the time because it is not linux->internet, it is linux->bunch of stuff->internet, but I am sure backdoors are there.

  • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    95
    arrow-down
    16
    ·
    8 months ago

    Your Debian stable system is so ancient you got bigger vulnerabilities to worry about: Panik!

    Also the problem was that Debian’s sshd linked to liblzma for some systemd feature to work. This mod was done by Debian team.

    • Delilah (She/Her)@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      35
      ·
      8 months ago

      Even if you’re using debian 12 bookworm and are fully up to date, you’re still running [5.4.1].

      The only debian version actually shipping the vulnerable version of the package was sid, and being a canary for this kind of thing is what sid is for, which it’s users know perfectly well.

      • piefedderatedd@piefed.social
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        There was a comment on Mastodon or Lemmy saying that the bad actor had been working with the project for two years so earlier versions may have malicious code as well already.

        • dan@upvote.au
          link
          fedilink
          arrow-up
          5
          ·
          8 months ago

          They did but the malware wasn’t fully implemented yet. They spent quite a while implementing it, I guess to try and make it less obvious.

      • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        12
        arrow-down
        4
        ·
        8 months ago

        Mostly a joke about him calling it “ancient”, but there may be some unpatched vulnerabilities in older software. Though there could also be some new ones in newest versions.
        Still, unless it’s Alpha/Beta/RC, it’s probably better to keep it up-to-date.

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          10
          ·
          8 months ago

          Debian responds to security issues in stable within a fairly short window. They have a dedicated security team.

  • oce 🐆@jlai.lu
    link
    fedilink
    arrow-up
    51
    arrow-down
    1
    ·
    edit-2
    8 months ago

    The malicious changes were submitted by JiaT75, one of the two main xz Utils developers with years of contributions to the project.

    “Given the activity over several weeks, the committer is either directly involved or there was some quite severe compromise of their system,” Freund wrote. “Unfortunately the latter looks like the less likely explanation, given they communicated on various lists about the ‘fixes’” provided in recent updates. Those updates and fixes can be found here, here, here, and here. https://arstechnica.com/security/2024/03/backdoor-found-in-widely-used-linux-utility-breaks-encrypted-ssh-connections/

    That really sucks. This kind of thing can make people and companies lose trust in open source. I wonder if we will learn the reason behind that. I would guess the developer was paid a lot of money by some organization to risk ruining his reputation like that.

    • sep@lemmy.world
      link
      fedilink
      arrow-up
      52
      ·
      8 months ago

      Like the exact same thing can not happen in a closed source codebase. It probably does daily. Since closed codebases the due dilligence and reviews cost money, and nobody can see the state. They are intentionally neglected.
      Open source nor closed source is immune to the 5$ wrench hack

      • bier@feddit.nl
        link
        fedilink
        arrow-up
        8
        ·
        8 months ago

        Exactly, if you are as big a Microsoft, you can’t tell 100% if one of your developer’s is actually being paid by a foreign government. Even if you say completely check the commits other devs make, there will still be deadlines when a code review is just “looks fine, next”.

    • Wooki@lemmy.world
      link
      fedilink
      arrow-up
      49
      arrow-down
      1
      ·
      edit-2
      8 months ago

      No, its the exact opposite.

      Supply chain conpromise is a level of risk to manage not unique to FOSS. Ever heard of sunburst? It resulted in a lot of Microsofts cloud customers getting wreaked all because their supply chain was compromised.

      Do people continue to buy into 365 and Azure? Yes. Without care.

      So will this hurt open source projects? Not at all, in fact it will benefit them, highlight just why source code SHOULD be open source and visible to all! We would have had very little to no visibility and capability to monitor closed source. Let alone learn, improve and harden how projects can protect against this increasingly more common attack.

        • PainInTheAES@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          8 months ago

          Sorry I should have been more clear too. I was trying to convey that the dev could have been paid off/threatened or it could be the work of a state actor or team of state actors under an alias. In one case they could care about their reputation but in the other maybe not.

          • communism@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            8 months ago

            By the sounds of it it was an organised social engineering attack. Almost certainly “Jia Tan” is not a real person, or if it is a real person then it’s a case of stolen identity. Even if I were being threatened to put a backdoor in some software I wouldn’t do it under my real name.

  • shotgun_crab@lemmy.world
    link
    fedilink
    arrow-up
    49
    ·
    edit-2
    8 months ago

    Still paniking, cause the backdoor was apparently targetting Debian servers, it was discovered just by chance and the “mantainer” made commits for 2 years in the same repo

      • dan@upvote.au
        link
        fedilink
        arrow-up
        28
        ·
        8 months ago

        and it was only discovered accidentally, when someone was profiling some stuff, noticed SSH using a bit too much CPU power when receiving connections even for invalid usernames/passwords, and spent the time to investigate it more deeply. A lot of developers aren’t that attentive, and it could have easily snuck through.

  • mariusafa@lemmy.sdf.org
    link
    fedilink
    arrow-up
    38
    arrow-down
    1
    ·
    8 months ago

    That’s basically the idea of having a stable branch. Where all packages have 2+ years of testing and revisions.

    • jabjoe@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      They are stagnant. They keep getting security/fix patches, just not new features.

    • TangledHyphae@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      8 months ago

      The slowness is on purpose? To help identify the sshd in question to the attacker which nodes are compromised? What reason(s) could there be?

      • getaway@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        8 months ago

        He’s talking about Debian’s slowness in getting new versions to stable, and how the meme ignores security backports.

        • TangledHyphae@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          8 months ago

          Ohh that makes way more sense, thanks. I haven’t used Debian in like 10 years but it was obviously the same back then too.

      • mumblerfish@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        If the above decides to continue, the code appears to be parsing the symbol tables in memory. This is the quite slow step that made me look into the issue.

        That is from the original find. Not sure the relevance of it and this being proof for it being “on purpose”. But that is the origin of the slowness.

      • Samueru@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        I recently ran into a bug in the latest version of cmake that breaks it completely in my system, can’t compile shit and it just does a coredump.

        What is worse is that I can’t even report the bug because I can’t get the registration email from the cmake gitlab. I checked the manjaro repos and their cmake version is 2 versions older than the one that has the bug that left me thinking for a while lol.

      • communism@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        8 months ago

        Tbh Manjaro has made my system unbootable before with a system update, base Arch has never done that for me. I think Manjaro is just poorly constructed, or maybe it’s bc of all the packages that come pre installed with it causing problems. Minimal installs ftw

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      In this case the slower updates payed off. There are many things wrong with Manjaro but slower updates is not one of them.

      • redcalcium@lemmy.institute
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        8 months ago

        It’s not though, because the malicious release happened more than two weeks ago and manjaro had to fast track the patched xs from arch git repo. This is why manjaro should extend their delayed update policy to catch this kind of issue in the future (maybe 2 months instead of 2 weeks) /s

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          ·
          8 months ago

          They honestly should as it probably would fix a lot of issues. Then again, Manjaro is so broken that it probably doesn’t matter