Hex Package Manager Warns of Potential Data Breach
Reported by SecurityWeek1 source ↓
Attackers used a vulnerability in hex.pm to run commands on six web servers on November 23. Hex found no evidence of package or database changes, but says access to some database contents cannot be ruled out.
Key points
- The attack involved 69 malicious requests between 18:16 and 18:29 UTC
- Hex replaced the affected servers with patched versions and blocked the traffic within minutes
- Potentially exposed data includes email addresses, password and API key hashes, sessions and two-factor secrets
- Hex replaced server credentials and signing keys, logging users out of hex.pm and Hex clients
- Hex recommends account holders change passwords and reset two-factor authentication
Details
SecurityWeek reports that the attackers exploited an unauthenticated deserialization flaw in hex.pm to execute operating-system commands. The attack affected six web servers; Hex says it found no evidence of unauthorized package modifications, database changes or persistent attacker access.
Hex replaced all hex.pm servers with patched versions at 18:30 UTC on November 23, and a firewall rule blocked the attacker’s traffic at 18:33.
Hex says commands run by the attacker could have read server credentials, which it replaced, including credentials for storage, the CDN, email and the database, as well as keys used to sign sessions and access tokens. Hex says database and private-documentation reads are not logged, so it cannot rule out access to database contents or private packages.
Written from coverage as of
Images
- SecurityWeek