On Friday, Apple had barred Java from running on Macs by adding it to the banned list in XProtect.
Oracle released an update to the Java platform on Saturday. Java 7 Update 13 is available now with a build number of 1.7.0_13-b20.
In its notes about the update, Apple says: “Java updates are available that address a recently identified Java web plug-in vulnerability”.
The company adds some advice about running, or rather not running Java on the Mac.
- To help limit exposure to potential Java web app vulnerabilities, try to follow this best practice:
- Enable Java in your web browser only when you need to run a Java web app.
- Confine your web browser only to the websites that need the Java web app. Do not open any other websites.
- When you are done, disable the Java web plug-in.
It was the second time in two weeks that Apple had blocked Oracle’s code from running on Macs.
The threat earlier in January was so serious that the US Computer Emergency Readiness Team, part of the US Department of Homeland Security, urged users to disable Java in their webbrowsers.
Java has come under fire as the means by which hackers have been able to gain control of computers. In April 2012 more than 600,000 Macs were reported to have been infected with a Flashback Trojan horse that was being installed on people’s computers with the help of Java exploits.