The White House threatened to veto a controversial House cybersecurity bill on Wednesday, saying the measure would fail to protect critical infrastructure systems and would undermine Internet privacy.

The House is expected to approve the Cyber Intelligence Sharing and Protection Act (CISPA) on Friday.

"Legislation should address core critical infrastructure vulnerabilities without sacrificing the fundamental values of privacy and civil liberties for our citizens, especially at a time our Nation is facing challenges to our economic well-being and national security," the White House said.