Six Hex.pm Registry Servers Compromised After Exploitation of Decade‑Old RCE Flaw
On Monday, an attacker exploited a remote code execution vulnerability scoring a perfect 10.0 on the CVSS, compromising six production servers that run Hex.pm, the main package registry for the Elixir and Erlang ecosystems. The intrusion gave the threat actor the ability to run arbitrary OS commands on those hosts, sparking swift alarm among developers dependent on the repository for vital software pieces.
The flaw traces back to code integrated into Hex.pm in February 2016 and remained undetected for over ten years before being weaponized. Researchers pinpointed the issue to an unchecked input path that could be crafted to inject malicious commands during package processing. Since the defect lived in the registry’s core logic, it provided the attacker with direct foothold onto the host environment across several nodes.
Hex.pm’s maintainers announced the breach soon after it was discovered, emphasizing that the affected machines store the majority of public packages relied upon by the Elixir and Erlang communities. Although no proof of stolen source code or tampered packages has surfaced, the team is undertaking a thorough audit to confirm that no malicious payloads entered the dependency supply chain. Users are urged to check the integrity of packages downloaded recently and watch for any abnormal behavior in their applications.
The incident highlights the wider danger of entrenched vulnerabilities within open‑source infrastructure. Package registries act as essential distribution hubs for millions of developers, and a solitary security slip can trigger extensive software supply‑chain compromises. Experts in the field stress the importance of routine code reviews, automated vulnerability scanning, and swift patch roll‑outs, particularly for components that have lingered in production for long periods.
As a reaction, Hex.pm shut down the compromised servers, deployed emergency patches, and engaged security firms to perform a post‑mortem review. The organization also intends to introduce further hardening steps, such as tighter input validation and improved monitoring of command‑execution routes. Developers should anticipate forthcoming updates and advice on best practices for confirming package authenticity as the registry works to bring full service back online.
Comments (0)
Be the first to comment.
Join the discussion