There is some disagreement regarding the permissibility of injections. It is better to delay until after the fasting period but if it is needed then they do not invalidate the fast. This is for all types of injections, whether they are intravenous and intramuscular.