Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Seiden Group Blog

No, Apache Isn’t Vulnerable to the Log4j Vulnerability

December 13, 2021/1 Comment/in Apache /by Calvin Buckley

Updated December 19, 2021

The Log4j Java library has been in the news recently. The details of vulnerability CVE-2021-44228 have been well documented by others, but to summarize, it allows arbitrary code execution through maliciously crafted messages. These messages cause the Java virtual machine to look up classes from an LDAP server and load them. This is obviously not good, but unless you’re familiar with Java, you might be concerned what is and isn’t vulnerable; this article aims to clarify that.

Apache Foundation, not Apache web server

Log4j is a Java library developed by the Apache Software Foundation. The foundation develops a lot of projects, including Log4j and the Apache web server. Apache’s HTTPd (web server) isn’t vulnerable – it’s not written in Java, and thus it can’t use Log4j. However, Log4j is incredibly popular with Java applications. Every grown-up application needs formalized logging, and Log4j provides it very well.

Even if your own applications don’t use Java, it’s possible you might be using products that use Java behind the scenes. A lot of IBM products are written in Java, after all, but it’s very popular for enterprise software.

How do I know if I’m using Log4j?

You might start by reviewing this list of known vulnerable and not vulnerable software.

If you know your application’s classpath (where Java looks for code), look for the logj4 JARs. If they don’t have a version in the filename, you may be able to find a specific version in the META-INF/MANIFEST.MF inside of the JAR (since a JAR is just a Zip file inside). It’s also possible the Log4j JAR may be inside of another JAR file (an uber-JAR).

Only Log4j 2.x is vulnerable. If you’re using Log4j 1.x, you have other problems and should also update it.

Ultimately, if you’re not sure, it doesn’t hurt to ask your vendor. They might have an update out to update Log4j to a fixed version. For example, IBM is taking updates and notices on a product-by-product basis, such as for WebSphere.

Mitigations and solutions

As of this writing, updating to Log4j 2.17 is the best choice. Version 2.15 resolved the most common vulnerability, but 2.16 and 2.17 resolved other rare ones. If, however, you cannot update Log4j right now, perhaps because you are waiting for a vendor’s update, you could try these:

  1. A web application firewall (for example, Cloudflare) can try to filter things, but can be inadequate. A filter won’t catch all the different ways the vulnerability can be encoded, especially if it slips by somehow.
  2. The latest version of Java disables the exploitable lookups by default by setting com.sun.jndi.ldap.object.trustURLCodebase=false.
  3. The setting in 2. above is inadequate, because other ways to trigger the issue have been found. Newer-but-still-vulnerable versions of Log4j (2.10 or newer) allow disabling the lookups. You can set a Java property like Log4j2.formatMsgNoLookups=true (on i, this can also be put into SystemDefault.properties to be set globally) or an environment variable like LOG4J_FORMAT_MSG_NO_LOOKUPS=true.
  4. For step-by-step instructions, see the FAQ by IBM’s Jesse Gorzinski.

However, these precautions aren’t silver bullets. The safest option is, again, update as soon as possible, and refer to the official Log4j security fix page for updates.

Tags: Java, log4j, security
Share this entry
  • Share on Facebook
  • Share on X
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail
https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Calvin Buckley https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Calvin Buckley2021-12-13 12:50:312022-05-01 11:36:51No, Apache Isn’t Vulnerable to the Log4j Vulnerability
Calvin Buckley

About Calvin Buckley

Recognized as an IBM Champion and a 2020 Fresh Face of IBM i, Calvin exhibits remarkable talent for expanding the use of IBM i through open ...Read More

1 reply
  1. Greg C
    Greg C says:
    December 14, 2021 at 5:12 pm

    Please note, Redhat has identified this vuln in 1.x Log4j versions under certain configurations (cve-2021-4104) with steps for mitigation.

    https://access.redhat.com/security/cve/CVE-2021-4104

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

IBM i Development

  • RPG, COBOL, SQL, Node,
    PHP, Python, Valance, etc.
  • Modernization. Integration.
  • Web and API Solutions
  • Legacy Maintenance
    ...
LET'S GET IT DONE!

Recent Posts

  • Do You Need IBM i Observability?
  • PHP 8.6 is Coming Soon to IBM i
  • Safer npm installation is on the way for Node.js (and all JavaScript)
  • Access Modern Security for IBM i and Connected Web Environments
  • IBM i: A Natural Platform for Agentic AI
  • PHP on IBM i in 2026: The Modernization Engine
  • Your “AS/400” Is a Modern IBM i Platform
  • MCP + AI for IBM i Teams (with a MongoDB example)
  • GnuPG PHP Extension for IBM i: Now Included with Seiden Support
  • Getting Started with Code for IBM i: A Lunch & Learn Video

SEIDEN GROUP: Modern Development & Open Source for IBM i

Home   |   Seiden PHP+   |   IBM i Services  |   Support   |   VS Code for i   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2026 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Link to: PHP 7.3 Enters End of Life Today—Free Upgrade Assessment Link to: PHP 7.3 Enters End of Life Today—Free Upgrade Assessment PHP 7.3 Enters End of Life Today—Free Upgrade Assessment Link to: Visual Studio Code and 5250 Link to: Visual Studio Code and 5250 Visual Studio Code and 5250
Scroll to top Scroll to top Scroll to top