Social media site LinkedIn said on Wednesday that it had suffered a data breach which had compromised the passwords of some of the social network’s members.