CVE-2021-4104Log4j Insecure Deserialization
JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration.
Published Dec 14, 2021 · Updated Nov 5, 2026 · Also known as CGA-2g58-2j66-w9mm, CGA-4p7c-4rm5-xvpf, CGA-6c68-vp29-f4wr, CGA-6hgv-r7r8-r24q, CGA-78rv-3ffc-9v6v, CGA-cm98-5vpf-c3w2, CGA-gv72-7963-5q8v, CGA-j4cg-w4gf-x7v9, CGA-mp53-xx8w-83r2, CGA-p7v8-q868-9h87, CGA-q5qj-rhfc-gfg4, CGA-wc49-3g64-xfx4, CLEANSTART-2026-FS95827, CLSA-2022-1642429303, CLSA-2022-1642429400, CLSA-2022-1648067792, CLSA-2022-1648069165, CLSA-2026-1786547487, CLSA-2026-1787141079, CLSA-2026-1787546974, CLSA-2026-1789407479, CLSA-2026-1789407656, DEBIAN-CVE-2021-4104, DLA-2905-1, ECHO-faf1-0543-99d8, GHSA-fp5r-v3w9-4333, MINI-5vpg-q97w-mqxp, MINI-phqj-qvjr-xvw4, OESA-2022-1513, OESA-2022-2065, ROOT-APP-MAVEN-CVE-2021-4104, SUSE-SU-2021:14866-1, SUSE-SU-2021:4096-1, SUSE-SU-2021:4097-1, SUSE-SU-2021:4111-1, SUSE-SU-2021:4112-1, SUSE-SU-2021:4115-1, SUSE-SU-2021:4160-1, SUSE-SU-2021:4190-1, SUSE-SU-2022:0126-1, SUSE-SU-2022:0133-1, SUSE-SU-2022:0354-1, SUSE-SU-2022:0355-1, TR-21-1009, TR-21-1011, UBUNTU-CVE-2021-4104, USN-5223-1, USN-5223-2, openSUSE-SU-2021:1612-1, openSUSE-SU-2021:1631-1, openSUSE-SU-2021:4112-1, openSUSE-SU-2022:0038-1, openSUSE-SU-2024:11681-1, openSUSE-SU-2024:11696-1
Key Facts
Patch immediately- CVE-2021-4104 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Log4j (Apache), Advanced Supply Chain Planning (Oracle), Business Intelligence (Oracle) and 22 more products.
- It is exploited in the wild, listed in Industry KEV feed since Apr 26, 2022. No public exploit code is known.
- EPSS estimates a 81% probability of exploitation in the next 30 days.
- Fixed versions are available, including apache-hive 3.1.3-r1, apache-log4j1.2 1.2.17-10+deb11u1, apache-log4j1.2 1.2.17-11.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
81%
Higher than 99.7% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
65/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Apr 26, 2022
133 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
3
Reports of active use
Advisories And Exploit References
Description
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Apr 26, 2022 | n/a | Not reported |
Affected Products
683 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Log4jApache | 1.2 | 1.2.17-16.12.amzn1 |
| Advanced Supply Chain PlanningOracle | 12.1, 12.2 | n/a |
| Business IntelligenceOracle | 12.2.1.3.0, 12.2.1.4.0, 5.9.0.0.0 | n/a |
| Business Process Management SuiteOracle | 12.2.1.3.0, 12.2.1.4.0 | n/a |
| Communications Eagle FTP Table Base RetrievalOracle | 4.5 | n/a |
Patched Releases
apache-hive
3.1.3-r1
apache-log4j1.2
1.2.17-10+deb11u1, 1.2.17-11, 1.2.17-4ubuntu3+esm1, 1.2.17-7+deb9u2, 1.2.17-7ubuntu1+esm1, 1.2.17-8+deb10u1ubuntu0.1, 1.2.17-9ubuntu0.1
chainsaw
1.2.17-5.1
davmail
6.1.0-1.mga8
druid
35.0.1-r1
eap7-apache-cxf
0:3.4.10-1.SP1_redhat_00001.1.el7eap
eap7-avro
0:1.7.6-8.redhat_00003.1.el7eap
eap7-h2database
0:1.4.197-3.redhat_00004.1.el7eap
eap7-jboss-annotations-api_1.3_spec
0:2.0.1-4.Final_redhat_00001.1.el7eap
eap7-jboss-marshalling
0:2.0.15-1.Final_redhat_00001.1.el7eap
eap7-jboss-server-migration
0:1.7.2-12.Final_redhat_00013.1.el7eap
eap7-jboss-xnio-base
0:3.7.13-1.Final_redhat_00001.1.el7eap
eap7-log4j
0:2.17.1-1.redhat_00001.1.el7eap, 0:2.17.1-1.redhat_00001.1.el8eap
eap7-log4j-jboss-logmanager
0:1.2.2-1.Final_redhat_00002.1.el8eap, 0:1.2.2-1.Final_redhat_00002.1.ep7.el7
eap7-wildfly
0:7.3.11-4.GA_redhat_00002.1.el7eap
eap7-wss4j
0:2.3.3-2.redhat_00001.1.el7eap
eap7-xalan-j2
0:2.7.1-38.redhat_00015.1.el7eap
eap7-xml-security
0:2.2.3-2.redhat_00001.1.el7eap
elasticsearch
2.4.2-5.3.1, 2.4.2-5.6.1, 2.4.2-6.3.1, 2.4.2-6.6.1
io.root.log4j:log4j
1.2.12-root.io.1, 1.2.12-root.io.2, 1.2.14-root.io.2, 1.2.14-root.io.3, 1.2.14-root.io.4, 1.2.14-root.io.5, 1.2.14-root.io.6
jboss-as-appclient
0:7.5.24-2.Final_redhat_00001.1.ep6.el6, 0:7.5.24-2.Final_redhat_00001.1.ep6.el7
jboss-as-cli
0:7.5.24-2.Final_redhat_00001.1.ep6.el6, 0:7.5.24-2.Final_redhat_00001.1.ep6.el7
jboss-as-client-all
0:7.5.24-2.Final_redhat_00001.1.ep6.el6, 0:7.5.24-2.Final_redhat_00001.1.ep6.el7
jboss-as-clustering
0:7.5.24-2.Final_redhat_00001.1.ep6.el6, 0:7.5.24-2.Final_redhat_00001.1.ep6.el7
jboss-as-cmp
0:7.5.24-2.Final_redhat_00001.1.ep6.el6, 0:7.5.24-2.Final_redhat_00001.1.ep6.el7
Timeline
Publicly disclosed
Dec 14, 2021
Added to Industry KEV feed
Apr 26, 2022
Last updated
Nov 5, 2026
Weakness Type
- CWE-20 Improper Input Validation
- CWE-502 Deserialization of Untrusted Data
References
- advisorynvd.nist.gov · CVE-2021-4104
- advisorysecurity-tracker.debian.org · CVE-2021-4104
- advisoryubuntu.com · CVE-2021-4104
- advisorycve.org · CVERecord
- advisoryRHSA-2021:5107
FAQ
Common Questions.
JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration.
Affected: Log4j (Apache) versions 1.2; Advanced Supply Chain Planning (Oracle) versions 12.1, 12.2; Business Intelligence (Oracle) versions 12.2.1.3.0, 12.2.1.4.0, 5.9.0.0.0, among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Apr 26, 2022.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including apache-hive 3.1.3-r1, apache-log4j1.2 1.2.17-10+deb11u1, apache-log4j1.2 1.2.17-11.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2021-4104 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo