Copy link to clipboard
Copied
Hi,
After I upgraded ColdFusion 2023 to the latest version (build 10), the version of Java located in the "jre" folder under the "ColdFusion2023" directory was still just "17.0.6". It looks like Java version is supposed to be at version "17.0.10". Are the updates supposed to upgrade Java as well, or do I need to update them separately?
Thanks!
Bill: no, the CF updates do not update the Java underlying CF. Only new CF installers do that. And while there has been one for CF 2023 which came out in Oct 2023, offering update 5 pre-installed, sadly it did NOT update the Java version--it remains 17.0.6 as was offered with the original installer. (I've updated that last sentence since my original answer here minutes ago, as I confirmed that 17.0.6 was indeed what was implemented in both the original May 2023 installer and the new one from Oc
...Copy link to clipboard
Copied
Bill: no, the CF updates do not update the Java underlying CF. Only new CF installers do that. And while there has been one for CF 2023 which came out in Oct 2023, offering update 5 pre-installed, sadly it did NOT update the Java version--it remains 17.0.6 as was offered with the original installer. (I've updated that last sentence since my original answer here minutes ago, as I confirmed that 17.0.6 was indeed what was implemented in both the original May 2023 installer and the new one from Oct 2023.)
And yes, that means you need to update the Java underlying CF yourself. That can be simple on the surface, though you do need to be careful about it. I have more on the topic, including steps and links to resources with still more, here: https://www.carehart.org/cfupdate/#java
Copy link to clipboard
Copied
very interesting and thanks! Although the video explaintion on how to upgrade Java may be a problem for me. It seems like it will leave the old version of Java at D:\ColdFusion\jre. I believe our scanners will still find this old version of Java and declare it as a vulnerability.
Do you think I could do this instead?
1) stop ColdFusion service(s)
2) delete the "jre" folder under D:\ColdFusion2023 (or temporaliy rename 'jre' to 'jre_bak')
3) extract the lastest Java version (17.0.10) found at cfdownload.adobe.com/pub/adobe/coldfusion/java/java17/java17012/jdk-17.0.12_windows-x64_bin.zip to D:\ColdFusion2023\jre directory
4) Restart the server
and test everything? Thanks for any assistance you may be able to proved! 🙂
Copy link to clipboard
Copied
You could. Just understand that:
Copy link to clipboard
Copied
Thanks so much!
Copy link to clipboard
Copied
Glad to have helped, and thanks for having marked my first reply as the "answer". That's more valuable than many appreciate. 🙂
Copy link to clipboard
Copied
@BILL314613570ssy , Like Charlie, I would also answer no to the question whether ColdFusion updates do update Java as well. The Java installation at /coldFusion/jre was the latest Java version when ColdFusion was released. It stays there, irrespective of any subsequent update levels.
It seems like it will leave the old version of Java at D:\ColdFusion\jre. I believe our scanners will still find this old version of Java and declare it as a vulnerability.
Do you think I could do this instead?
1) stop ColdFusion service(s)
2) delete the "jre" folder under D:\ColdFusion2023 (or temporaliy rename 'jre' to 'jre_bak')
3) extract the lastest Java version (17.0.10) found at cfdownload.adobe.com/pub/adobe/coldfusion/java/java17/java17012/jdk-17.0.12_windows-x64_bin.zip to D:\ColdFusion2023\jre directory
4) Restart the serverBy @BILL314613570ssy
No, don't delete it! Leave ColdFusion's in-built Java well alone. There may be vital background processes or dependencies that need it.
The question of your scanner declaring /coldFusion2023/jre a vulnerability is, of course, important. However, I don't think there is a pressing need to be preventive here. It is advisable to treat this as a bridge to cross if and when you get there.
From what you say, I assume you already know how to get ColdFusion to run on a Java version newer than its own. All it takes is to:
java.home=D:\\path\\to\\JDK_directory
That's it.
Copy link to clipboard
Copied
@BILL314613570ssy Maybe it would be worth letting Adobe know about vulnerability finding by logging in a new bug at their https://tracker.adobe.com/ site so maybe they would update the Java version with next ColdFusion update? I agree with @BKBK I would not touch the original folder (even if you test everything now, there is no guarantee next ColdFusion update won't look for it at the original location). Once you point your ColdFusion instances at the new JRE, they will not use the original JRE and will no longer be vulnerable.