It took the company six weeks to do so, but Apple has released an update that fixes a critical vulnerability in its iTunes music player for Macintosh and Windows PC.