Rodgers completed 17-of-32 passes for 315 yards with a interception despite the injury absences of top receivers Randall Cobb and James Jones.
Jordy Nelson helped pick up the slack with a 64-yard TD reception in the third quarter, finishing with 113 yards on four receptions for Green Bay (3-2), which notched a second straight win.
On defense, the Packers executed a key goal-line stand late in the game to preserve the victory.
Joe Flacco tossed for 342 yards with two touchdowns as the Super Bowl champion Ravens (3-3) fell at home for only the fourth time in 20 games.
Exploding whale video goes viral on Internet
Wisconsin business offering 'therapeutic cuddling' forced to close