Deserialization in Apache Log4j
CVE-2021-4104
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.806 (99.6th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.811 · newest: 0.806 · change: -0.005
Affected products
- Apache Log4j — versions 1.2
- Apache Software Foundation Log4j 1.x — versions Apache Log4j 1.2 1.2.x
- Oracle Advanced Supply Chain Planning — versions 12.1, 12.2
- Oracle Business Intelligence — versions 5.9.0.0.0, 12.2.1.3.0, 12.2.1.4.0
- Oracle Business Process Management Suite — versions 12.2.1.3.0, 12.2.1.4.0
- Oracle Communications Eagle FTP Table Base Retrieval — versions 4.5
- Oracle Communications Messaging Server — versions 8.1
- Oracle Communications Network Integrity — versions 7.3.6
- Oracle Communications Offline Mediation Controller — versions 12.0.0.5.0
- Oracle Communications Unified Inventory Management — versions 7.3.4, 7.3.5, 7.4.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.cve.org/CVERecord
- github.com/apache/logging-log4j2/pull/608
- access.redhat.com/security/cve/CVE-2021-4104
- www.kb.cert.org/vuls/id/930724 (third-party-advisory)
- www.openwall.com/lists/oss-security/2022/01/18/3 (mailing-list)
- www.oracle.com/security-alerts/cpujan2022.html
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0033
- security.netapp.com/advisory/ntap-20211223-0007/
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujul2022.html
Frequently asked questions
- What is CVE-2021-4104?
- CVE-2021-4104 is a high-severity vulnerability in Apache Log4j, classified under Deserialization of Untrusted Data. CVSS score: 7.5/10. Published 2021-12-14.
- How severe is CVE-2021-4104?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2021-4104 known to be exploited?
- 78 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.