OpenSSH Issues Emergency Fix for Flaw Letting Long Passwords Bypass SSH Auth on Alpine Linux
Our summary
A newly found authentication flaw let attackers sign into accounts with no password set — such as SSH-key-only users or root on some Alpine Linux images — simply by submitting a password between 257 and 1,024 bytes long. The bug affects systems where sshd checks credentials without PAM, password logins remain enabled, and at least one other local account carries a $5$ or $6$ password hash; this matches Alpine's default openssh-server setup and also potentially touches other musl-based platforms like OpenWrt, Buildroot, and Yocto. The issue traces back to how musl's crypt() function handles overly long inputs combined with an OpenSSH salt-reuse mechanism dating to a 2016 fix for CVE-2016-6210. OpenSSH developer Damien Miller rushed out version 10.6p2 within a day of learning about the flaw, while Alpine shipped corrected packages for every supported branch back to 3.16; admins who can't update immediately are urged to disable PasswordAuthentication right away, as no official CVE has yet been assigned and no in-the-wild exploitation has been confirmed.
The Hacker News publishes this story on its own site; we link to it rather than reprint it.
Worried this affects your company?
Discuss a security assessment of your internet-facing systems. Scope agreed before testing.