The Dodgers seemed on their way to victory late in the game with a 3-1 lead, but the Pirates fought back when Neil Walker provided an RBI single in the eighth and Travis Snider tied it with a solo homer in the ninth.
In the 11th, however, Andre Ethier (3-for-5) led off with a double against Vin Mazzaro (3-1) went to third on a sacrifice and came home with the deciding run when Uribe sent a solid shot to left field.
The Dodgers then added an insurance run on Nick Punto's pinch-hit RBI double.
Peter Moylan (1-0) earned the decision with a scoreless 10th and Brandon League got his 14th save despite allowing two runners in the 11th as Los Angeles evened its three-game series.
Russell Martin supplied an RBI for the Pirates, who fell for second time in three games overall.