Cast iron is sort of funny in that the rust you see might be purely
external, while the interior of the soil pipe is fine. It's also funny
in that it might just be rusty there, while the rest of the pipe is like
new. On the other hand, the whole thing might be ready to explode.
You can leave it alone, or you could scrape it flat and cover it with
a little epoxy putty.
HomeOwnersHub.com is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.