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@lemmy.nocturnal.garden
    link
    fedilink
    English
    arrow-up
    35
    ·
    2 days 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?

    • ikidd@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      24
      arrow-down
      1
      ·
      edit-2
      2 days ago

      SSH enabled and the SSH port of the container accessible and it’s set for password auth.

    • Samsy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 days ago

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

      • KaninchenSpeed@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        2 hours ago

        checked on my phone, there are a few system users with !* as their password, from what i can tell ! blocks all logins and is not bypassed by this exploit, but their shell is set to /sbin/nologin anyways.

        The default firewall rules of nura block ssh from mobile data, so only wifi and usb connections would be affected if at all.

        Everyone should disable ssh password auth anyways, using the phones often short pin for ssh is not secure.

    • robber@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      I used to run SFTPGO in a container as a NAS type service. Their default image is based on Debian, but they offer Alpine versions. Password authentication is enabled by default.

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

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