DE — heise online
OpenSSH and Alpine Linux Warn of Niche but Serious Bug
Security2 min read
The OpenSSH team and Alpine Linux warn of a serious bug. It affects only rare setups: systems that use the musl C library and do not use PAM for password logins. On those systems, password login may be bypassed.
What happened
The OpenSSH team warned of a serious bug. It appears only in certain, fairly rare setups. Affected systems are Linux systems that use the musl C library and do not use PAM (Pluggable Authentication Modules) for password logins. On these systems, the password check can apparently be skipped, so attackers could get access without knowing the password. OpenSSH developer Damien Miller urged users of such systems to turn off password login right away, or to disable SSH completely for now. Alpine Linux is among the affected systems, and its developers published the same warning. The fix is OpenSSH version 10.6p2, released today.
Key facts
- Fixed version: OpenSSH 10.6p2, released today
- Affected version: OpenSSH 10.6p1 is still shipped by many other distributions and download servers
- Alpine Linux already offers the update
- The fix is to set PasswordAuthentication to no and restart sshd
Some background
SSH is a tool that lets people log in to a computer over a network and run commands on it. A login can use a password or an SSH key. PAM is a set of modules that handles login checks on Linux. The musl library is a small alternative to the standard C library used on some Linux systems, such as Alpine Linux.
Why it matters
This bug could let attackers into a server without the password. The OpenSSH team says the cause is not in OpenSSH itself, but they still released a new version quickly. They found the problem only yesterday, when a worker at the AI security company Wakefield reported it. The developers rushed because they fear that others could also find the bug soon, with help from AI. Such cases have happened several times recently. Users of affected systems should update fast and turn off password-based SSH logins until then. SSH keys are generally the safer choice.
What to watch
- Whether other Linux distributions ship OpenSSH 10.6p2 soon
- Whether attackers start exploiting the bug
- Whether the cause is found outside OpenSSH
Glossary
- OpenSSH
- A free tool that lets people securely log in to and control computers over a network.
- Alpine Linux
- A small Linux system often used in servers and containers.
- musl
- A small C standard library that some Linux systems use for basic program functions.
- PAM
- Pluggable Authentication Modules: a Linux system that checks who is allowed to log in.
- SSH keys
- A pair of digital keys used to log in safely without typing a password.
- Wakefield
- An AI security company that reported this bug to the OpenSSH team.