Depends on why/how it's leaking.
New roof, poorly flashing detail?
Old roof, properly flashed and simply worn out?
Leaking at the base through the roofing material,
or leaking higher up on the metal/lead flashing covering?
If it's an old roof leaking at the base, roof cement and cotton mesh properly installed around the penetration can last years.
If it's leaking from the pipe detail above roof level than some metal caulking spread around the pipe flashing could be your fix.
New roof, poorly flashing detail?
Old roof, properly flashed and simply worn out?
Leaking at the base through the roofing material,
or leaking higher up on the metal/lead flashing covering?
If it's an old roof leaking at the base, roof cement and cotton mesh properly installed around the penetration can last years.
If it's leaking from the pipe detail above roof level than some metal caulking spread around the pipe flashing could be your fix.