Although a small but growing number of countries are beginning to contain the spread of the AIDS virus , the epidemic is expanding in all areas of the world , outpacing the response , the United Nations secretary general , Kofi Annan , said here on Thursday . ''