Six Hex.pm Registry Servers Compromised via Decade‑Old Remote Code Execution Flaw
On Monday, six production servers that run Hex.pm—the main package registry for the Elixir and Erlang ecosystems—were breached after an attacker exploited a remote‑code‑execution flaw that received a perfect 10.0 score on the Common Vulnerability Scoring System. The intrusion let the perpetrator run arbitrary operating‑system commands on the compromised machines, sparking immediate alarm among developers who depend on the repository for essential software components.
The defect traces back to code that has been part of Hex.pm since February 2016 and remained undetected for more than ten years before it was weaponized. Security analysts pinpointed the issue as an unchecked input path that could be crafted to inject malicious commands during package‑handling processes. Because the flaw lived in the core registry logic, it granted the attacker direct foothold on the host environment across several nodes.
Hex.pm’s maintainers announced the breach shortly after it was discovered, noting that the affected servers store the majority of public packages used by the Elixir and Erlang communities. While no proof of stolen source code or tampered packages has been released, the team is performing a thorough audit to confirm that no malicious payloads entered the dependency supply chain. Users are urged to validate the integrity of recently downloaded packages and watch for any abnormal behavior in their applications.
The incident highlights the wider danger posed by long‑standing vulnerabilities in open‑source infrastructure. Package registries act as a vital distribution hub for millions of developers, and a single security lapse can trigger far‑reaching software supply‑chain attacks. Industry specialists stress the importance of regular code reviews, automated vulnerability scanning, and swift patch deployment, especially for components that have been in production for many years.
In response, Hex.pm has taken the compromised servers offline, applied emergency patches, and is collaborating with security firms to conduct a post‑mortem analysis. The organization also intends to introduce further hardening measures, such as stricter input validation and improved monitoring of command‑execution pathways. Developers can expect forthcoming updates and guidance on best practices for verifying package authenticity as the registry works to restore full service.
Comments (0)
Be the first to comment.
Join the discussion