• lemmyng@lemmy.ca
    link
    fedilink
    English
    arrow-up
    38
    arrow-down
    2
    ·
    6 months ago

    Just because it has a CVE number doesn’t mean it’s exploitable. Of the 800 CVEs, which ones are in the KEV catalogue? What are the attack vectors? What mitigations are available?

    • taladar@sh.itjust.works
      link
      fedilink
      arrow-up
      29
      arrow-down
      2
      ·
      6 months ago

      The idea that it is somehow possible to determine that for each and every bug is a crazy fantasy by the people who don’t like to update to the latest version.

      • lemmyng@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        4
        ·
        6 months ago

        The fact that you think it’s not possible means that you’re not familiar with CVSS scores, which every CVE includes and which are widely used in regulated fields.

        And if you think that always updating to the latest version keeps you safe then you’ve forgotten about the recent xz backdoor.

        • taladar@sh.itjust.works
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          6 months ago

          I am familiar with CVSS and its upsides and downsides. I am talking about the amount of resources required to determine that kind of information for every single bug, resources that far exceed the resources required to fix the bug.

          New bugs are introduced in backports as well, think of that Debian issue where generated keys had flaws for years because of some backport. The idea that any version, whether the same you have been using, the latest one or a backported one, will not gain new exploits or new known bugs is not something that holds up in practice.

          • lemmyng@lemmy.ca
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            6 months ago

            I don’t know where you got the idea that I’m arguing that old versions don’t get new vulnerabilities. I’m saying that just because a CVE exists it does not necessarily make a system immediately vulnerable, because many CVEs rely on theoretical scenarios or specific attack vectors that are not exploitable in a hardened system or that have limited impact.

            • taladar@sh.itjust.works
              link
              fedilink
              arrow-up
              3
              arrow-down
              1
              ·
              6 months ago

              And I am saying that that information you are referring to is unknown for any given CVE unless it is unlocked by some investment of effort that usually far exceeds the effort to actually fix it and we already don’t have enough resources to fix all the bugs, much less assess the impact of every bug.

              Assessing the impact on the other hand is an activity that is only really useful for two things

              • a risk / impact assessment of an update to decide if you want to update or not
              • determining if you were theoretically vulnerable in the past

              You could add prioritizing fixes to that list but then, as mentioned, impact assessments are usually more work than actual fixes and spending more effort prioritizing than actually fixing makes no sense.

  • Catsrules@lemmy.ml
    link
    fedilink
    arrow-up
    23
    arrow-down
    2
    ·
    6 months ago

    Best way I found it running this command

    rm -rf /

    Then do a reboot just to be sure.

    Good luck compromising my system after that.

    FYI This is a joke Don’t actually run this command :)

  • Billegh@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    6 months ago

    I mean, this isn’t any different for Windows or macos. The difference is the culture around the kernel.

    With Linux there are easily orders of magnitude more eyeballs on it than the others combined. And fixes are something anyone with a desire to do so can apply. You don’t have to wait for a fix to be packaged and delivered.

  • PlexSheep@infosec.pub
    link
    fedilink
    arrow-up
    8
    ·
    6 months ago

    Security is not a binary variable, but managed in terms of risk. Update your stuff, don’t expose it to the open Internet if it doesn’t need it, and so on. If it’s a server, it should probably have unattended upgrades.

    • qaz@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      6 months ago

      If it’s a server, it should probably have unattended upgrades.

      Interesting opinion, I’ve always heard that unattended upgrades were a terrible option for servers because it might randomly break your system or reboot when an important service is running.

      • taladar@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        6 months ago

        There are two schools of thought here. The “never risk anything that could potentially break something” school and the “make stuff robust enough that it will deal with broken states”. Usually the former doesn’t work so well once something actually breaks.

      • PlexSheep@infosec.pub
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        6 months ago

        Both my Debian 12 servers run with unattended upgrades. I’ve never had anything break from the changes in packages, I think. I tend to use docker and on one even lxc containers (proxmox), but the lxc containers also have unattended upgrades running.

        Do you just update your stuff manually or do you not update at all? I’m subscribed to the Debian security mailing list, and they frequently find something that means people should upgrade, recently something with the glibc.

        Debian especially is focused on being very stable, so updating should never break anything that wasn’t broken before. Sometimes docker containers don’t like to restart so they refuse, but then I did something stupid.

        • qaz@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          6 months ago

          I used to check the cockpit web interface every once in a while, but I’ve tried to enable unattended updates today. It doesn’t actually seem to work, but I planned on switching to Nix anyway.

          • PlexSheep@infosec.pub
            link
            fedilink
            arrow-up
            1
            ·
            6 months ago

            I don’t use Cockpit, I just followed the Debian wiki guide to enabling unattended upgrades. As fast as I remember you have to apt install something and change a few lines in the config file.

            It’s also good to have SMTP set up, so your server will notify you when something happens, you can configure what exactly.

      • moonpiedumplings@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        That only applies to unstable distros. Stable distros, like debian, maintain their own versions of packages.

        Debian in particular, only includes security patches and changes in their packages - no new features at all.* This means risk of breakage and incompatibilitu is very low, basically nil.

        *exceot for certain packages which aren’t viable to maintain, like Firefox or other browsers.

      • exu@feditown.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        Not having automated updates can quickly lead to not doing updates at all. Same goes for backups.

        Whenever possible, one should automate tedious stuff.