Yes, as per New York’s state liquor law, a convenience store can sell beer but no wine or other hard liquor, so the CVS store must obtain a license or permit from the regional authority to sell beer.
Because of this, only licensed CVS general stores can sell beer in NY. For wine and hard liquor, you may have to visit designated liquor stores.