The normal for vitamin D levels is greater than 30 nanograms per milliliter (ng/ml). Your level is a very mild deficiency. If you can take calcium with vitamin D that is an over the counter preparation, this could be tried. However, this is a very mild deficiency. There are no vitamin D injections. There is a prescription strength of Vitamin D than can be taken every month called ergocalciferol 50,000 units. You could also consider this.
Atorvastatin can cause kidney disease by causing muscle injury. If you are monitored for muscle injury, this should not be a problem. I suggest that you discuss your concerns with your primary care physician (PCP).