Plumbing Vent - Proper service?
Option 1: You are going to need a roofing specialist to come and replace the flashing so the pipe has a snug fit around the pipe.  This is a pretty easy job if you have asphalt shingles.

Option 2: I had the same issue and fixed it by getting some roofing caulk and sealing the gaps around the pipe

Good Luck!