Home / Apache Software Foundation / Apache Log4j 1.x / CVE-2021-4104
CVE-2021-4104: is it exploited, and which versions of Apache Software Foundation Apache Log4j 1.x are affected and fixed?
CVE-2021-4104 is a deserialization of untrusted data vulnerability in Apache Software Foundation Apache Log4j 1.x. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: log4j:log4j through 1.2.17 and org.zenframework.z8.dependencies.commons:log4j-1.2.17 through 2.0 (GitHub advisory GHSA-fp5r-v3w9-4333). Fixed in 12.0.0.4.0 (NVD). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:52 UTC.
What is CVE-2021-4104?
Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2
JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration. The attacker can provide TopicBindingName and TopicConnectionFactoryBindingName configurations causing JMSAppender to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-44228. Note this issue only affects Log4j 1.2 when specifically configured to use JMSAppender, which is not the default. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.
From the CVE record by apache, last updated May 28, 2026, 19:53 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Log4j 1.x | Apache Log4j 1.2 1.2.x |
As the CVE record by apache states it, last updated May 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | log4j:log4j | >= 1.2.0, <= 1.2.17 | none listed | GHSA-fp5r-v3w9-4333 |
| Maven | org.zenframework.z8.dependencies.commons:log4j-1.2.17 | <= 2.0 | none listed | GHSA-fp5r-v3w9-4333 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 26, 2023. Summary: JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | log4j | 1.2 | application |
| fedoraproject | fedora | 35 | operating system |
| redhat | codeready studio | 12.0 | application |
| redhat | integration camel k | all versions | application |
| redhat | integration camel quarkus | all versions | application |
| redhat | jboss a-mq | 6.0.0 | application |
| redhat | jboss a-mq | 7 | application |
| redhat | jboss a-mq streaming | all versions | application |
| redhat | jboss data grid | 7.0.0 | application |
| redhat | jboss data virtualization | 6.0.0 | application |
| redhat | jboss enterprise application platform | 6.0.0 | application |
| redhat | jboss enterprise application platform | 7.0 | application |
| redhat | jboss fuse | 6.0.0 | application |
| redhat | jboss fuse | 7.0.0 | application |
| redhat | jboss fuse service works | 6.0 | application |
| redhat | jboss operations network | 3.0 | application |
| redhat | jboss web server | 3.0 | application |
| redhat | openshift application runtimes | all versions | application |
| redhat | openshift container platform | 4.6 | application |
| redhat | openshift container platform | 4.7 | application |
| redhat | openshift container platform | 4.8 | application |
| redhat | process automation | 7.0 | application |
| redhat | single sign-on | 7.0 | application |
| redhat | software collections | all versions | application |
| redhat | enterprise linux | 6.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:19 UTC.
How severe is CVE-2021-4104?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.0 | CVSS 2.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-4104 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 20, 2023)
- EPSS
- 80.6% probability of exploitation activity in the next 30 days, percentile 99.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Where are the vendor advisories and references?
- https://www.cve.org/CVERecord?id=CVE-2021-44228
- https://github.com/apache/logging-log4j2/pull/608#issuecomment-990494126
- https://access.redhat.com/security/cve/CVE-2021-4104
- VU#930724 third-party-advisory
- [oss-security] 20220118 CVE-2022-23302: Deserialization of untrusted data in JMSSink in Apache Log4j 1.x mailing-list
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0033
- https://security.netapp.com/advisory/ntap-20211223-0007/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- GLSA-202209-02 vendor-advisory
- GLSA-202310-16 vendor-advisory
- GLSA-202312-02 vendor-advisory
- GLSA-202312-04 vendor-advisory
When was it published, and where is the official record?
- Reserved
- December 13, 2021
- Published
- December 14, 2021, 00:00 UTC
- CVE record updated
- May 28, 2026, 19:53 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:19 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Log4j 1.x?
- Jan 18, 2022CVE-2022-23307 Apache Software Foundation Apache Log4j 1.x: deserialization of untrusted data
- Jan 18, 2022CVE-2022-23305 Apache Software Foundation Apache Log4j 1.x: SQL injection
- Jan 18, 2022CVE-2022-23302 Apache Software Foundation Apache Log4j 1.x: deserialization of untrusted data
Questions about CVE-2021-4104
Is CVE-2021-4104 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 80.6% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Log4j 1.x are affected by CVE-2021-4104?
log4j:log4j through 1.2.17 and org.zenframework.z8.dependencies.commons:log4j-1.2.17 through 2.0, per the GitHub advisory GHSA-fp5r-v3w9-4333. The tables above give every range the sources list.
Which version fixes CVE-2021-4104?
12.0.0.4.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-4104?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-4104?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.