Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Does Log4J vulnerability still call for a JVM argument in CF2023?

Participant ,
Feb 11, 2025 Feb 11, 2025

Last year the Log4J vulnerability called for the addition of the JVM argument -Dlog4j2.formatMsgNoLookups=true in CF2018 and CF2021. Does anyone know if this JVM argument is still needed/recommended/valid in ColdFusion 2023?

278
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 12, 2025 Feb 12, 2025

My understanding is, "no". 

 

First, the issue is from Dec 2021 rather than "last year", which proves important as I will show. 🙂 

 

Second, that jvm arg was just the very first recommendation from Adobe that month, Dec 14 in fact. Then they came out with an update a week later, on Dec 21. And that was just the first of a couple which would evolve to address this and negate the need for the arg, by removing the affected log4j2 jars. 

 

Finally and most important, cf2023 came out in May 2023, an

...
Translate
Community Expert ,
Feb 12, 2025 Feb 12, 2025

My understanding is, "no". 

 

First, the issue is from Dec 2021 rather than "last year", which proves important as I will show. 🙂 

 

Second, that jvm arg was just the very first recommendation from Adobe that month, Dec 14 in fact. Then they came out with an update a week later, on Dec 21. And that was just the first of a couple which would evolve to address this and negate the need for the arg, by removing the affected log4j2 jars. 

 

Finally and most important, cf2023 came out in May 2023, and it had incorporated all the known updates regarding log4j by then.

 

More than that, it did NOT implement that jvm arg out of the box. (some may see it, but that would be because they imported settings from a prior cf release that had it). And FWIW there have been 12 updates to that since then, and none of them have implemented that arg for us. 

 

If it may help, here are resources from me and from Adobe, discussing the changes over time regarding the log4j issue as it evolved back then in late 2021/early 2022:

 

That's all in the rear view mirror for those on cf2023 and beyond.

 

Hope that suits in answer to your question. I'm open to corrections, of course. 


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 12, 2025 Feb 12, 2025

Thank you, @Charlie Arehart , as always!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2025 Feb 12, 2025

Glad to have helped. 🙂 


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 13, 2025 Feb 13, 2025
LATEST
quote

Last year the Log4J vulnerability called for the addition of the JVM argument -Dlog4j2.formatMsgNoLookups=true in CF2018 and CF2021. Does anyone know if this JVM argument is still needed/recommended/valid in ColdFusion 2023?


By Dordrecht

Important question. I don't know the answer off the top of my head. But I know a way you can answer the question yourself.

 

After you install ColdFusion 2023, check what the default settings in /bin/jvm.config  are. Adobe's ColdFusion engineers would have learned the lessons from ColdFusion versions 2018 and 2021. If the setting -Dlog4j2.formatMsgNoLookups=true were still needed/recommended/valid in version 2023, they would have included it by default. 🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources