Posted by Matt Johnston on Nov 05 Prior to ~2019 when the OpenSSH change was made, Debian would have shown a different manpage that only documents NULL for error [1]. Changing system APIs is problematic! https://www.man7.org/linux/man-pages/man3/crypt.3.html#RETURN_VALUE On success, a pointer to the
Briefing
Written from the coverage below · deepseek-v4.1-flash
Mailing-list discussion describes a password authentication bypass in OpenSSH when built against musl libc, caused by unchecked NULL returns from crypt(). The flaw stems from a post-2019 OpenSSH change and differing crypt() error semantics; no fix details are given in the thread.
Why it mattersSystems running OpenSSH linked against musl libc may accept logins without valid passwords, undermining a primary remote-access control.
ActionPatch OpenSSH to a release that rejects NULL from crypt() (post-2019 fix), or rebuild against a libc whose crypt() does not return NULL on error.
Coverage
2 articles