OpenSSH 10.6p2 Mitigates Password-Authentication Bypass on Some musl Linux Systems

OpenSSH released version 10.6p2 with a workaround for a critical flaw that can let attackers bypass SSH password authentication on some Linux systems using musl libc without PAM. The attack requires network access, an account name and a password between 257 and 1,024 bytes; affected accounts can include those configured for key-only access. OpenSSH advises operators to disable password authentication or SSH until mitigations are applied. The issue does not affect non-Linux systems, Linux systems using glibc, or Linux systems using PAM for password authentication.

AI-written summary, checked against the cited sources. How summaries work

Image: The Hacker News

Why it matters

Operators of Linux systems using musl libc without PAM should set PasswordAuthentication=no or disable SSH immediately, then install the OpenSSH 10.6p2 workaround or the applicable fixed Alpine package.

CVE-2016-6210

Severity
5.9 Medium · CVSS 3.1 · CISA
Exploited
Not in CISA’s catalog
Published

access.redhat.com · security.gentoo.org · CVE record · NVD

What we know

Confirmed by several sources

  • OpenSSH 10.6p2 was released with a workaround for a critical vulnerability affecting some Linux systems using musl libc without PAM, including Alpine Linux systems. — LWN.net, Hacker News
  • Operators of affected systems were urged to disable password authentication or SSH as an immediate mitigation. — LWN.net, Hacker News

Reported by one source

  • The attack requires network access, an account name and a password between 257 and 1,024 bytes long. — The Hacker News
  • The flaw has existed since 2016 and is linked to a change in OpenSSH password-verification error handling. — Slashdot
  • Alpine said it would backport the fix to Alpine 3.16. — LWN.net
  • OpenSSH said it had recently observed rapid bug rediscovery by AI agents and cited that as a reason for a fast release. — Hacker News

Coverage 4 publishers

  1. Hacker NewsFirst report

    Damien Miller (@damienmiller@hachyderm.io)

    OpenSSH 10.6p2 has been released with a workaround for a critical vulnerability. https://openssh.com/releasenotes.html#10.6p2 If you operate a Linux system that uses musl libc without PAM (Alpine Linux is one example) then stop reading and…

  2. LWN.net

    Critical security vulnerability affects OpenSSH on Alpine Linux systems

    Version 10.6p2 of OpenSSH has been released with a workaround for a critical vulnerability that affects Linux systems that use musl libc with PAM disabled, such as Alpine Linux. OpenSSH developer Damien Miller said: If you operate a Linux…

  3. The Hacker News

    OpenSSH Issues Emergency Fix for Flaw Letting Long Passwords Bypass SSH Auth on Alpine Linux

    Attackers can log in to accounts that have no password, such as SSH key-only accounts, on some Alpine Linux servers running the standard openssh-server package. They need network access to the server, an account name, and a password between…

  4. Slashdot

    OpenSSH Flaw Lets Attackers Log Into Password-Disabled Linux Accounts

    A newly disclosed OpenSSH flaw dubbed "sshole" can allow attackers to log in to password-disabled accounts on certain musl-based Linux systems simply by submitting a password longer than 256 bytes. "Apparently certain varieties of musl…

Earliest report first. Articles stay on their publishers’ sites; each link opens the original.