The emergency notification system OnSolve CodeRED has experienced a cybersecurity attack impacting millions of customers, including several communities in western Massachusetts.