Uribe's slam came in the seventh inning and broke open a 3-1 contest. After that the Giants cruised to their 15th win in 19 games, taking a fourth straight road series for the first time since 2004.
Bumgarner (4-2) held the D-backs to two runs on five hits in seven innings. The rookie left-hander won his fourth straight start.
Ian Kennedy (5-8) absorbed the loss for Arizona, surrendering four runs on six hits over 6 2/3 innings.