are you affected?

  • is your sshd running on musl? (alpine, openwrt, buildroot, yocto)
  • is it not using pam? alpine’s openssh-server doesn’t by default, or maybe you set UsePAM no
  • are password logins still on? they are by default
  • is there an account with just * as its password? key-only users, ldap users, root on alpine
  • and some other account with a real password?
  • then that * account takes any password between 257 and 1024 characters

on alpine’s official aws and azure images that’s the default alpine user, and it has passwordless doas. so it’s root

on debian, ubuntu, fedora or anything else with glibc? going through pam? dropbear? openbsd? you’re fine

  • tofu
    link
    fedilink
    English
    arrow-up
    20
    ·
    2 hours ago

    I mean, not that it’s not severe, but which container images have ssh baked in? If you’re using good stripped down images, you’re fine here.

    Not sure where the overlap is between"ssh is enabled" and “one of those OSes”. LXCs maybe?

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

      Even if there is ssh it probably is going to be dropbear and it is unlikely that password based authentication would be enabled

    • Samsy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      27 minutes ago

      Linux phones? PostmarketOS is alpine-based. And a lot of people may ssh to their phone.

      • tofu
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 hour ago

        Good Point! I’ll check if my forgejo container has password auth enabled. :D It’s LAN only though.

          • Orygin@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            6
            ·
            1 hour ago

            No you’re wrong. Stop dramatizing and spreading false info. From your link:

            Prerequisites: Are password logins still on?

            You can’t trigger this if password auth is disabled.