A CIA officer has been fired for leaking classified information.