Legacy Modernization

Log4j 1.x end of life: check which fix channel your application has

A component-by-component reading of a log4j 1.2.x finding: which CVE entries apply, how three fix channels compare and when moving to Log4j 2 is justified.

Three stacked layers of a log4j 1.2.x finding, from the version a scanner flags through components in use to the fix channel, with components outlined as the part to check.
In this article
  1. What Apache says about the Log4j 1.x branch
  2. Match each known vulnerability to a component
  3. Work through an illustrative configuration
  4. Compare the three fix channels
  5. Decide when one bounded change is justified
  6. Know your Log4j 1.x fix channel

Log4j 1.x end of life is settled: Apache announced it on 2015-08-05 and states that none of the listed issues will be fixed. A scanner that flags log4j 1.2.x in a Java application reports a finding: a library version and the vulnerabilities known for it. What that finding means for one application depends on the components its configuration enables. The answer starts with the configuration; the version number is the second step.

Each known vulnerability has an entry: a CVE number with a public description of one problem in one component. A fix channel is anyone who still ships corrected Log4j 1.x code, on terms they state. Everything below reports what Apache, NVD and the fix channels publish; it does not assess your configuration.

What Apache says about the Log4j 1.x branch

On 2015-08-05, Apache's Logging Services Project Management Committee announced that Log4j 1.x had reached end of life.

The Log4j 1.x page states the branch status in one sentence: "Since Log4j 1 is no longer maintained none of the issues listed will be fixed."

That sentence covers the branch status only. Which entries apply to one application, and which fix channels exist, are two separate facts.

The same page names one behavior problem that is not a CVE entry: the version detection algorithm changed in Java 9, which stops the MDC from working properly. Apache's linked blog post, Log4j 1.2 is broken on Java 9, narrows the scope. Most of Log4j 1.2 still works on Java 9, and an application that does not use the MDC may not be impacted.

Where Log4Shell belongs

Log4Shell (CVE-2021-44228) is recorded against log4j-core in Log4j 2. Apache's security page lists versions from 2.0-beta9 through 2.14.1, apart from the later 2.3.x and 2.12.x security releases. Log4j 1 has no lookups. Its related JNDI path, JMSAppender, is filed separately as CVE-2021-4104, and Apache states that Log4j 1 configurations without JMSAppender are not impacted.

JMSAppender is not enabled by default, according to the NVD entry for CVE-2021-4104.

Match each known vulnerability to a component

The Log4j 1.x page ties each of its six entries to one component of the library. So the check starts with the configuration; the version number comes second. The rows below are the log4j 1.2.17 vulnerabilities that Apache lists. The SocketServer, JMSSink and Chainsaw questions cannot be closed by searching the configuration file.

CVE entry Component Question for this application
CVE-2019-17571 SocketServer Does anything run a SocketServer receiving network logs?
CVE-2020-9488 SMTPAppender Is SMTPAppender configured in log4j.properties or log4j.xml?
CVE-2021-4104 JMSAppender Is JMSAppender configured in log4j.properties or log4j.xml?
CVE-2022-23302 JMSSink Does anything run JMSSink, which consumes JMS log events?
CVE-2022-23305 JDBCAppender Is JDBCAppender configured in log4j.properties or log4j.xml?
CVE-2022-23307 Chainsaw Is the Chainsaw log viewer from Log4j 1.2.x used or run?

Three NVD entries add a condition. The entries for JMSAppender, JMSSink and JDBCAppender each say the issue applies only when Log4j is specifically configured to use that component, "which is not the default."

The NVD entry for CVE-2020-9488 describes a flaw in the Log4j SMTP appender, fixed in Log4j 2.12.3 and 2.13.1. It lists affected Apache Log4j versions only in the 2.x line. Apache's 1.x page is what ties this number to SMTPAppender in the 1.x branch.

A scanner may also show two numbers beyond Apache's list. NVD calls CVE-2022-23307 the same Chainsaw issue as CVE-2020-9493. CVE-2023-26464 covers Chainsaw or SocketAppender on a JRE below 1.7; NVD marks it unsupported when assigned, and Apache's 1.x page does not list it.

Work through an illustrative configuration

A fictional Java application processes insurance claims. Its log4j.properties writes to a rolling file, emails errors, stores events in a database and calls one appender the team wrote.

log4j.properties (illustrative claims application)
# Illustrative configuration of a fictional claims application
log4j.rootLogger=INFO, file, mail, db, audit

log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=logs/claims.log
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=5
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d %-5p [%t] %c - %m%n

log4j.appender.mail=org.apache.log4j.net.SMTPAppender
log4j.appender.mail.Threshold=ERROR
log4j.appender.mail.SMTPHost=<smtp-host>
log4j.appender.mail.From=<sender-address>
log4j.appender.mail.To=<operations-mailbox>
log4j.appender.mail.Subject=Claims application error
log4j.appender.mail.layout=org.apache.log4j.PatternLayout
log4j.appender.mail.layout.ConversionPattern=%d %-5p %c - %m%n

log4j.appender.db=org.apache.log4j.jdbc.JDBCAppender
log4j.appender.db.URL=<jdbc-url>
log4j.appender.db.user=<db-user>
log4j.appender.db.password=<db-password>
log4j.appender.db.sql=INSERT INTO claim_log (logged_at, level, message) VALUES ('%d', '%p', '%m')

log4j.appender.audit=com.example.claims.logging.ClaimAuditAppender
log4j.appender.audit.Destination=<audit-destination>

Against the table, two rows apply as questions: SMTPAppender and JDBCAppender are configured. As the NVD entry predicts, the JDBCAppender statement includes %m, the message converter. RollingFileAppender has no entry, and none of the six entries names the custom ClaimAuditAppender.

JMSAppender appears nowhere in the file. Its absence is written down as evidence for CVE-2021-4104, because Apache states that Log4j 1 configurations without JMSAppender are not impacted. The file cannot answer the rest, so these questions go to named owners:

  • Which operations owner runs the mail server and mailbox that SMTPAppender sends to?
  • Which database owner holds the table behind JDBCAppender, and does message text reach its SQL?
  • Which development team owns the code of ClaimAuditAppender?
  • Can the operations team confirm whether anything runs SocketServer, JMSSink or Chainsaw, which the file cannot show?

Compare the three fix channels

Three fix channels of different kinds ship corrected Log4j 1.x code: a community fork, a fork inside a vendor's product and commercial builds. Each row links to the channel's own page, with its release or revision date.

Channel, page and date What the page states What stays open
reload4j 1.2.27, released 2026-10-14 1.2.17 fork; Apache's six entries and CVE-2020-9493 fixed NTEventAppender removed; CVE-2023-26464 not fixed
Atlassian fork, knowledge base, updated 2025-09-26 Own fork of Log4j 1 for Jira Data Center and Server Inside Jira; components removed; SMTPAppender: workaround
HeroDevs NES 1.2.18, released 2025-12-16 Commercial builds; fixes listed include CVE-2023-26464 Vendor's own claim; commercial terms on request

None of the three pages is described as an independent assessment that the channel closes the risk. A fix channel fits only if it covers the components the application configures or runs. CVE-2023-26464 shows that each list means something different: reload4j does not fix it, while HeroDevs lists it among its fixes.

What the reload4j project states about itself

reload4j was started by the original author of Apache log4j 1.x. It is a fork of version 1.2.17, and the project calls it a "binary compatible, drop-in replacement." By drop-in, the project means replacing log4j.jar with reload4j.jar in a build, with no source code changes, recompilation or rebuild.

The project lists each fixed entry with the release that fixed it by hardening the component. It explains that it leaves CVE-2023-26464 unfixed because it judges the attack surface very small. The only removal it names is NTEventAppender, so a configuration that uses NTEventAppender would lose it in the swap.

The project says reload4j will see maintenance releases "for the foreseeable future." Its releases are reproducible, and bug reports go to GitHub.

Vendor forks and commercial support

Atlassian maintains its own fork of Log4j 1 because, in its words, Jira Server and Data Center still heavily rely on the library. Atlassian calls the effort to migrate its software to Log4j 2 too significant to do quickly enough. The knowledge base article applies only to the Data Center platform.

The fork removed SocketServer, JDBCAppender, JMSSink and Chainsaw, and it disallows external lookups in JMSAppender. For SMTPAppender, Atlassian offers a workaround: set the mail.smtp.ssl.checkserveridentity system property to true. The fork is a fix channel for Jira itself.

HeroDevs offers Never-Ending Support (NES) for Apache Log4j, with supported versions 1.2.x, 2.17.x and 2.18.x. The vendor describes its builds as forks of the last upstream release, 1.2.17, published under the same Maven coordinates with a NES version string. Its release notes for NES 1.2.18 list Apache's six entries, CVE-2020-9493 and CVE-2023-26464 as fixed.

Decide when one bounded change is justified

Apache's migration page describes the bridge from the Log4j 1 API to Log4j 2. Since Log4j 2.17.2, the bridge has limited support for native Log4j 1 appenders and layouts, configured only through Log4j 1 configuration files. JDBCAppender, JMSAppender and SMTPAppender are not on the list of appenders the bridge supports out of the box, and all three carry entries in the table above. For an unsupported custom component, Apache suggests rewriting it as a Log4j 2 component. Apache's security page calls the bridge deprecated and says it will not be present in Log4j 3. In one classpath, the bridge is incompatible with log4j:log4j and with reload4j.

Decision diagram for one Log4j 1.x component with two questions in order: Is the component configured or run? Does a suitable fix channel cover it? The three outcomes are: record the evidence; record the channel and the owner; make one bounded change: move to Log4j 2 with a configuration or code change.
The two checks for one Log4j 1.x component and the outcome each answer leads to.

Check the fix channels before any change. A bridge swap needs no code change or new configuration file when the application uses only the Log4j 1 API and components on the bridge's out-of-the-box list. A move is needed when no suitable fix channel covers a configured or run component, or when the bridge does not support a custom component. Such a move is a configuration or code change to one application, the kind of bounded work that Java application modernization services cover. Three outcomes follow: record the evidence, record the channel and the owner, or make one bounded change: move to Log4j 2 with a configuration or code change.

Library, runtime and framework support

Support for the logging library, for the Java runtime and for a framework are three separate questions, each with its own fix channel. A Log4j 1.x fix channel says nothing about the Java build underneath it. For that side, check which Java 8 support channel your runtime has.

Record the finding, the channel and the owner

Turn the completed table into a record: a short written note that someone else can check. For each configured or run component, it holds the entry number, the fix channel that covers it or a note that none does, the evidence and the owner. Evidence means a configuration line or a channel page with its date.

Next, name the smallest decision that remains. It may be adopting a fix channel, making one bounded change, or concluding that no project is needed. Any release to production stays a separate decision. If the CISO or an insurance broker asks about the finding, the record is the basis to prepare a documented response to an end-of-life finding.

Know your Log4j 1.x fix channel

A completed record shows which entries apply, which fix channel covers each component and who owns the next step, so the remaining decision stays small. If one application is blocking a platform step, bring the component, version and workflow to discuss the next justified result. On the request form, choose Java in the Technology field, then discuss one application.

Frequently asked questions

Is Log4j 1.x affected by Log4Shell?

No. Log4Shell, CVE-2021-44228, is recorded against log4j-core in Log4j 2, and Log4j 1 has no lookups. Its related JNDI issue sits in JMSAppender and has a separate entry, CVE-2021-4104. Atlassian notes that this entry is sometimes wrongly reported as CVE-2021-44228.

When did Log4j 1.x reach end of life?

Apache's Logging Services Project Management Committee announced the end of life of Log4j 1.x on 2015-08-05. The branch's documentation site still shows version 1.2.17, the release that reload4j and HeroDevs both build on. Any later fix comes from a fix channel outside Apache.

Will Apache fix vulnerabilities in Log4j 1.x?

No. Apache's security page states that vulnerabilities reported after August 2015 against Log4j 1 are not checked and will not be fixed. The 1.x page adds that none of the issues it lists will be fixed, so no report, old or new, leads to an Apache fix.

Does every Log4j 1.x CVE apply to our application?

Not necessarily. Each entry is tied to one component, so it applies only if the application configures or runs that component. A search of the configuration file answers the appender questions. Whether anything runs SocketServer, JMSSink or Chainsaw is a question for the operations team.

What is reload4j, and is it a drop-in replacement?

reload4j is a fork of Apache log4j 1.2.17, started by the original author of log4j 1.x. The project calls it a binary compatible, drop-in replacement: a jar swap without source changes, recompilation or rebuild. Its page names one removed component, NTEventAppender. These are the project's statements about itself.

Can the bridge to Log4j 2 replace Log4j 1.x without code changes?

Only for some configurations. The bridge handles listed appenders such as ConsoleAppender, FileAppender and RollingFileAppender out of the box. A configuration with JDBCAppender, JMSAppender, SMTPAppender or an unsupported custom appender needs a configuration or code change. The bridge is also incompatible with log4j:log4j and reload4j in one classpath.

Who else ships fixes for Log4j 1.x?

Besides the community fork reload4j, two vendors do. Atlassian keeps its own fork of Log4j 1 for Jira Data Center and Server and lists the fixes in its knowledge base. HeroDevs offers commercial 1.2.x builds under the same Maven coordinates with a NES version string. Both describe their own offers.

How does library support differ from runtime and framework support?

They are three separate questions with separate fix channels. Library support asks who ships fixes for Log4j 1.x itself. Runtime support asks who ships fixes for the Java build the server runs. Framework support asks whether the framework branch the application uses still gets fixes. One answer does not settle the other two.

Insights

Keep reading

contact us

Share your software ideas with our expert team

Form before footer redesign

What our clients say