Chinese police have detained 37 people linked to a vaccine scandal and are investigating three pharmaceutical companies, state news agency Xinhua reported on Wednesday.

The case involves nearly $90 million worth of illegal vaccines against meningitis, rabies and other illnesses, which are suspected of being sold in dozens of provinces around China since 2011.

Premier Li Keqiang said the incident had exposed many regulatory loopholes and ordered authorities to undertake a thorough investigation, according to a statement posted on the government's website late on Tuesday.

The vaccine scandal underlines the challenge the world's second-largest drug market faces to regulate its fragmented supply chain, even as Beijing looks to support home-grown firms.

Xinhua said the arrests were made in Shandong, the eastern province at the heart of the scandal. One of the three firms being investigated, Shandong Zhaoxin Bio-tech Co., has been ordered to halt operations and had a license revoked, it said.

It also said China's top court would oversee the vaccine case directly.

On Tuesday, China's drug regulator identified nine vaccine wholesalers from six provinces that are suspected of filing fake reports of buyers' identities.

Police said a mother and daughter in Shandong had illegally bought vaccines from traders and sold them on to hundreds of resellers around China, according to a notice from the Shandong Public Security Department.

Authorities should improve the regulatory system surrounding vaccine production and distribution, Li said, and dereliction of duty related to accountability would not be tolerated.