This story covers it. FBI, not CIA.
http://www.nytimes.com/2014/11/16/magazine/what-an-uncensore...
http://www.nytimes.com/2014/11/16/magazine/what-an-uncensore...
To which one might be tempted to say "Well, sure, but J. Edger Hoover was totally out of control", but that's the thing: we let a totally out-of-control guy abuse a extremely powerful agency and do these things.