However, it was Liverpool who added a third to seal the game thanks to new signing Jota, who scored 10 minutes after making his debut after another cross from the right.
The result at the Maracana stadium lifted Flamengo to the top of their group with 12 points from five matches, three points ahead of second-placed Independiente.
With Paulo Dybala not fully fit, Pirlo started new signing Alvaro Morata to partner Ronaldo up front.
Fernando doubled his tally with an unstoppable volley in the 74th minute. In stoppage time, Ba Dun finished his first goal in CSL this season and made it a 4-0 victory against Shijiazhuang.
The 41-year-old was also fined 100,000 Swiss francs (around 108,000 U.S. dollars), the world football governing body said in a statement on Monday.
The Portuguese club have confirmed the move, which will see Nicolas Otamendi move in the opposite direction.
The 22-year-old swimmer also broke the national record of the women's 100m freestyle in 52.90 seconds on Sunday. Enditem
"It was a really hard-fought victory," Zhang told Xinhua after the match.
For the fifth placed Shenzhen, any prospect of promoting the top four appeared to be extinguished when Pouraliganji's powerful shot hit the crossbar on 75 minutes.
To leave space for postponed matches, the Champions League's group phase's timeframe has been extended until January 28.
Real Sociedad ruined Elche's return to the top flight as they won 3-0 in Elche's Martin Valero stadium, with all the goals coming in the second half.