A vulnerability has been discovered in a tool used to patch bugs found in Apple software.