Master Cylinder - Cover Leaks

Yes between the rubber gasket and the top of the master cylinder edge .
Will the brake fluid rune this compound that you use