Tech News
← Home  ·  All topics

Musl

6 GoKawiil briefs on this topic · RSS for musl

Hackers exploit *sshole Linux SSH flaw in active attacks, Greynoise finds

Security firm Greynoise reports that a threat group it calls GT10 is actively exploiting the *sshole vulnerability, a flaw arising from interaction between OpenSSH and the musl code library that allows unauthenticated access to privileged Linux accounts within seconds. Greynoise observed 'mature intrusions' against honeypots in Southeast Asia and gained access to a GT10 server, finding the group deploys a Python3-dependent backdoor called TAC Agent containing Chinese-language comments and signs of AI generation. OpenSSH has already released a patch addressing the vulnerability.

Critical OpenSSH flaw lets attackers bypass password checks on Alpine Linux

Security researchers disclosed CVE-2026-123158, a vulnerability in Alpine Linux's default OpenSSH setup that allows attackers to log into password-disabled or key-only accounts simply by sending an oversized password string. The bug stems from musl libc, the lightweight C library used by Alpine and other distros including Void Linux, OpenWrt, and Yocto-based embedded systems, meaning the exposure extends beyond Alpine itself. Alpine Linux and OpenSSH maintainers have issued patches, and users are urged to update and restart affected services immediately.

Musl libc and sshd flaw lets unauthenticated users gain root shell on Alpine-based systems

A vulnerability was found stemming from musl libc's crypt function returning the sentinel string "*" when a password is too long to hash, which collides with the Unix convention that "*" denotes a locked account. Because sshd hashes login attempts for locked accounts to prevent timing attacks, this collision allows an unauthenticated user to obtain a shell—potentially as root—on musl-based systems lacking PAM, such as the official Alpine AWS image.

Decade-old flaw lets attackers SSH into Alpine Linux devices without a password

Researchers disclosed a vulnerability stemming from how OpenSSH interacts with musl, the lightweight C library used by Alpine Linux, when PAM authentication is not used. On systems meeting specific conditions—including passwordless accounts marked with an asterisk in /etc/shadow and at least one SHA256/SHA512-hashed account—an attacker can log in via SSH without any password, succeeding on the first attempt with no retries needed.

C standard leaves strtod error detection non-portable across libc implementations

A blog post examines C17 section 7.25.2.6, which governs error handling for strtod, strtof, strtold and related string-to-float conversion functions. It explains that these functions' ability to report overflow or underflow via errno depends on the math_errhandling macro, and that on libraries like musl where MATH_ERRNO is not advertised, there is no standard-compliant way to detect these conversion errors. The author notes that Linux man pages for these functions omit this detail entirely.

Benchmarks show musl libc lags glibc by up to 26% even with mimalloc swapped in

A developer investigating containerized Rust performance found that musl's default memory allocator is significantly slower than glibc's, not just under high concurrency but even on modest 4-core EC2 instances. Swapping in mimalloc or jemalloc narrows the gap but doesn't close it—one workload remained 26% slower—because several of musl's core memory routines are themselves inefficient, not just its allocator.