The CDC was never explicitly banned from researching gun violence, though the Dickey Amendment "outlawed spending tax dollars on gun control advocacy", which made it difficult to determine what sorts of research might be allowed. This was recently clarified to explicitly allow gun violence research, though that still isn't funded.
https://www.washingtonpost.com/news/to-your-health/wp/2018/0...