A flaw in many of the company’s cable modems and residential gateways could allow a remote attacker to take control of the device.