<@U01EY27APNH> <@U0BJHDX1Q> After applying CF2018 ...
# adobe
r
@Mark Takata (Adobe) @priyank_adobe After applying CF2018 Update 14 to the first of our dev servers, I still have one older Log4j v1.x file in place (
./cfusion/jetty/lib/ext/log4j-1.2.17.jar
). Is this expected? (Even if expected, it is not going to make our cybersecurity team happy at all.)
1
… or @saghosh?
Box A: CF 2018 update 13:
Box B: CF 2018 update 14:
At least on the surface, it looks like the update did not remove the old versions of the files in that folder. I checked the update log and see the new files being added but no entries related to removal of the old. FWIW, a co-worker with a CF2021 dev system applied update 4 and does not see this on his. It appears to have cleaned up the old files and he sees the entries in the update log related to the cleanup.
b
@rstewart I've noticed the same issue with 2018, except the jar was in the cfusion/lib folder (possibly due to being based on the WAR).
Not only did 2018 still have Log4j 1.x, but when I manually deleted those jars, CF refused to start, so it does seem to still be using them
Copy code
Error [main] - Unable to initialise Security service: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
Information [main] - Unable to initialise CFStartupServlet:org/apache/log4j/Logger
[ERROR] coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Runtime service is not available.
@Mark Takata (Adobe) Is this expected?
cc/ @priyank_adobe
m
Escalated this. I'm unsure of what is the deal here.
b
Cool, thanks.
p
@rstewart Is jetty installed along with CF or have you installed it in a different folder and pointing it to CF Admin?
I have verified it multiple machines and it is getting updated.
r
Jetty is installed alongside CF. I have not installed it anywhere else or moved it.
I am glad to provide copies of the logs from applying the update, if that helps, @priyank_adobe?
p
Can you please send me the logs, DM me and I will share my email with you.
r
@bdw429s Interesting. Mine is also deployed via WAR against Tomcat. Here are all of the Log4j JAR files in the `cfusion/`directory structure on this box. That sounds like it is different than what you are seeing?
p
Mine is not deployed in Tomcat, it is standalone installation. I will try this and get back to you.
👍🏻 1
b
My jars were in cfusuon/lib directly
Using the war on commandbox/undertow