Agree with frodo and why isn't that pipe sleeved through concrete?
Plumbing Code 312.2 No plumbing piping shall be embedded in concrete or masonry. I'd follow frodos recommendations along with installing a sleeve and caulk between the sleeve and the piping.
IPC:
305.1 Corrosion. Pipes passing through concrete or cinder I
walls and floors or other corrosive material shall be protected
against external corrosion by a protective sheathing or wrapping
or other means that will withstand any reaction from the
lime and acid of concrete, cinder or other corrosive material.
Sheathing or wrapping shall allow for movement including
expansion and contraction of piping. Minimum wall thickness
of material shall be 0.025 inch (0.64 mm).
Problems and Deterioration
Cast iron is extremely strong and durable when used appropriately and protected from adverse exposure. It is much stronger in compression than in tension, therefore it is commonly found in columns, but not in structural beams. It is, however, highly susceptible to corrosion (rusting) when exposed to moisture and it has several typical problems which usually can be identified by visual inspection. The following sections will identify and discuss the most common problems encountered with cast iron. For general guidance on inspecting for cast iron failures, see 05010-01-G.