You're okay to drive it. That is the boot over the constant velocity joint (known as a CV joint boot). There are two on each side of the front, one inner and one outer. Normally the outer boots fail first because they flex so much in steering. It is a very common failure, as they have a life expectancy of 5-10 years... hot climates are worse.
You will want to avoid splashing through puddles or stirring up a lot of dust, but on ordinary roads you're fine. The remaining grease is effective until it is contaminated with dirt or water. If the grease gets contaminated and the joint wears it isn't the end of the world, it just decides how the failure is repaired.
There are two ways to repair it. It is possible to replace the boot itself if the joint is okay, but most often the whole drive axle is replaced - it is usually more cost effective. The old one is rebuilt for resale. A typical aftermarket price for a drive axle over-the-counter is around $100 US, and the labor usually adds another $200 or so. Labor costs vary rather widely. It is desirable to replace both sides at the same time if you can afford it, since the other side is as old and has been subjected to the same conditions (unless the exhaust is near the bad one). However, there is really no cost saving to doing both together, just convenience.
Mike