Under French law they must be released after that point, unless there are specific circumstances which would justify an additional 24 hours, Fairfax reported.
Drug use carries a maximum penalty of one year in prison in France or a €3750 (NZ$5500) fine.
Users can also be ordered to attend drug awareness programmes or to undergo court-ordered therapy.
"The Ministry is aware of reports on the arrest of Ali Williams in Paris. The New Zealand Embassy in Paris has not been approached for consular assistance," said a Ministry of Foreign Affairs spokesperson.
New Zealand Rugby refused to comment on the allegations, saying it didn't have access to all the information about the arrest and would not be commenting further because Williams was no longer contracted to the organisation.
However its general manager Neil Sorensen said New Zealand Rugby took the issue of illicit drugs "very seriously".
"In our last players' collective agreement we introduced a new illicit drugs test regime and we promote and expect drug free sport."
A report on the LCI.fr news website alleged the pair were detained after buying cocaine.
The two rugby stars were reportedly taken into custody and were heavily intoxicated when they were arrested, according to French media.
The media outlet reported Williams and O'Connor were intoxicated at the time of their arrest.
LCI.fr reported that Williams allegedly tried to throw away several packets of cocaine after being approached by plainclothes police officers.
The Daily Telegraph reported a police source said the two were apprehended by officers of the French Anti-Crime Brigade at 3am (3pm Saturday, NZT) in the Paris 16th district and placed in custody.
They were expected to be held in custody for up to 24 hours, the source added.
A judicial source told the Telegraph that the players were accused of trying to buy drugs worth about €200 ($290). Two suspected sellers had also been arrested.
Racing 92 said Williams would not be considered for selection until the matter was resolved.
"A player of Racing 92 is at the heart of an investigation into the possession of cocaine," the club said.
"It was decided to temporarily suspend Ali Williams. If the investigation confirmed the possession of cocaine and the transaction, it would not only be against the law but also a serious breach of our ethics.
"We want to assure our partners and our supporters of our total determination to uphold our values, and we apologise to all club and sport lovers for the disorder caused, and thank them for their loyalty."
The arrests come only days after former All Black Dan Carter was forced to apologise for "a massive error of judgment" after he allegedly failed a drink-driving test in France.
Carter also plays for Racing 92, the defending French champions.
Over the course of his career Williams picked up 77 caps for the All Blacks, including an appearance as a replacement in the home 2011 World Cup final win over France.
The 35-year-old has not been immune to controversy in the past. In 2007 while in South Africa with club side Blues he was sent home for "disciplinary problems", including late-night drinking sessions and a lack of respect for team management.
Williams took a measure of responsibility for his actions but added: "It takes two to tango."
O'Connor has not played for Australia since 2013 when he was stood down by the ARU after a drunken row that saw him escorted out of Perth Airport.
Hours after Australia's Rugby Championship win over Argentina in September 2013 O'Connor was refused entry to a flight to Bali with his girlfriend after a row with airline staff. The Australian Federal Police later confirmed they had removed O'Connor from the airport.
Shortly after, the talented back moved to London Irish. O'Connor returned to Super Rugby in 2015 with Reds but moved back to Europe to join Toulon, where he has been a regular this season.