openssh-sshd is vulnerable to Authentication Bypass
95
CVE Score
Critical
Authentication Bypass
OpenSSH servers using musl without PAM can let an unauthenticated attacker log in to accounts whose password field is * by submitting an overlong password. This bypasses the intended password lock and can grant root access when the account is privileged, including through passwordless doas on Alpine cloud images.
Upgrade openssh-sshd to OpenSSH 10.6p2 or your distribution's fixed build: Alpine edge 10.6_p2-r0; Alpine 3.24 10.3_p1-r2; 3.23 10.2_p1-r1; 3.22 10.0_p1-r11; 3.21 9.9_p2-r1; 3.20 9.7_p1-r6; 3.19 9.6_p1-r3; OpenWrt 10.6_p2-1. Restart sshd after updating. Until then, set PasswordAuthentication no and restart sshd.
You are affected if sshd uses musl, PAM is disabled, password authentication is enabled, and a login account has exactly * in its password field. The reported attack also requires another account with a SHA-256 or SHA-512 password hash. The target must otherwise be permitted to log in; root access requires root password login to be allowed or a privileged target account.
7.3 - 10.6p1
Fixed in 10.6p2openssh-sshd is vulnerable to Authentication Bypass in versions 7.3 - 10.6p1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.