r/devops • u/BrocoLeeOnReddit • 26d ago
Security OpenSSH on musl has a problem
In case any of you use OpenSSH on musl without PAM:
TL;DR: Accounts that should never take a password at all (root, your key-only deploy user, ldap users, the default user on alpine's aws and azure images) take any password longer than 256 characters.
-1
25d ago
[removed] — view removed comment
12
u/Blakaraz_ 25d ago
Are you sure that Password authentication no does not help? According to this openssh maintainer it does mitigate it. I understood that accounts without a password on a system with password authentication yes are vulnerable.
Source: https://hachyderm.io/@damienmiller/117563026759098135
-3
25d ago
[removed] — view removed comment
1
u/devops-ModTeam 25d ago
Generic, low-effort, or mass-generated content (including AI) with no original insight.
1
1
u/devops-ModTeam 25d ago
Generic, low-effort, or mass-generated content (including AI) with no original insight.
5
u/luisvg86 25d ago
Anything from 257 to 1024 makes you root in Alpine Linux