OpenSSH patches critical sshole flaw affecting Alpine Linux
OpenSSH has issued version 10.6p2 to close a critical vulnerability that lets attackers log into password‑less accounts on Alpine Linux and other musl‑based systems. The flaw, named sshole, exploits an OpenSSH patch from 2016 that hashes passwords even when no usable hash exists, and musl’s crypt() returns an asterisk for oversized passwords. Researchers say the bug has existed since 2016 and affects configurations where password authentication is blocked but the account remains active. No exploitation reports exist, and users are advised to disable PasswordAuthentication immediately.
Key facts
- Affected platforms include Alpine Linux, OpenWrt, Buildroot and Yocto under specific authentication settings.
- Attackers need network access, an account name and a password between 257 and 1,024 bytes.
- Non‑Linux, glibc‑based Linux and PAM‑checked systems are not vulnerable.
- Alpine maintainers report a successful login on the first attempt if the SSH port is reachable.
- The vulnerability requires a system account with a SHA‑256 or SHA‑512 hash and a target account marked password‑less in the shadow file.
Summarised with AI from 3 sourcesRead our AI policy
Why it matters
The fix prevents unauthenticated SSH access on widely used lightweight Linux distributions.
What changed
First published from The Hacker News, BleepingComputer and Ars Technica