## Overview
OpenSSH versions prior to 10.6p2 are vulnerable to a password authentication bypass. This affects systems running musl libc without PAM, such as Alpine Linux. The flaw allows any password between 256 and 1024 characters to succeed for certain account configurations.
## Technical Details
The vulnerability arises from a misinterpretation of whether a string is intended to be a password hash. When musl libc is used without PAM, the sshd service fails to properly validate password input. This can lead to unauthorized access if an attacker guesses a valid password within the specified length.
## Impact
The CVSS score for this vulnerability is 8.1, indicating high severity. Systems running affected versions of OpenSSH are at risk of unauthorized access, particularly those using musl libc without PAM. This situation is critical for environments where strong password policies are expected but not enforced due to this flaw.
## Mitigation
Defenders should upgrade OpenSSH to version 10.6p2 or later immediately. If an upgrade is not feasible, consider implementing additional security measures such as multi-factor authentication or restricting access based on IP addresses. Regularly review account configurations to ensure compliance with security policies.
CSURFACE Threat Sensor