CVE-2021-4104 Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- MySQLUbuntuDebianRed Hat
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.
Upgrade path
56 packages: 13 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| oracle goldengate | All versions | No fix listed | No fix yet |
| oracle stream analytics | All versions | No fix listed | No fix yet |
| oracle timesten grid | All versions | No fix listed | No fix yet |
| redhat integration camel k | All versions | No fix listed | No fix yet |
| redhat integration camel quarkus | All versions | No fix listed | No fix yet |
| redhat jboss a-mq streaming | All versions | No fix listed | No fix yet |
| redhat openshift application runtimes | All versions | No fix listed | No fix yet |
| redhat software collections | All versions | No fix listed | No fix yet |
| debian/apache-log4j1.2(Debian 12) | < 1.2.17-11 | 1.2.17-11 | Fixed |
| debian/apache-log4j1.2(Debian 13) | < 1.2.17-11 | 1.2.17-11 | Fixed |
| debian/apache-log4j1.2(Debian 14) | < 1.2.17-11 | 1.2.17-11 | Fixed |
| log4j/log4j(Maven) | = 1.2.4; = 1.2.5; = 1.2.6; = 1.2.7 +10 more | after 1.2.17 | Fixed |
| oracle communications offline mediation controller | < 12.0.0.4.0; = 12.0.0.5.0 | 12.0.0.4.0 | Fixed |
| oracle hyperion data relationship management | < 11.2.8.0 | 11.2.8.0 | Fixed |
| oracle hyperion infrastructure technology | < 11.2.8.0 | 11.2.8.0 | Fixed |
| oracle mysql enterprise monitor | <= 8.0.29 | after 8.0.29 | Fixed |
| org.zenframework.z8.dependencies.commons/log4j-1.2.17(Maven) | <= 2.0; = 2.0 | after 2.0 | Fixed |
| ubuntu/apache-log4j1.2(Ubuntu 18.04) | < 1.2.17-8+deb10u1ubuntu0.1; = 1.2.17-7ubuntu2; = 1.2.17-8; = 1.2.17-8+deb10u1build0.18.04.1 | 1.2.17-8+deb10u1ubuntu0.1 | Fixed |
| ubuntu/apache-log4j1.2(Ubuntu 20.04) | < 1.2.17-9ubuntu0.1; = 1.2.17-8; = 1.2.17-9 | 1.2.17-9ubuntu0.1 | Fixed |
| ubuntu/apache-log4j1.2(Ubuntu Pro 14.04) | < 1.2.17-4ubuntu3+esm1; = 1.2.17-3ubuntu1; = 1.2.17-4ubuntu1; = 1.2.17-4ubuntu2 +1 more | 1.2.17-4ubuntu3+esm1 | Fixed |
| ubuntu/apache-log4j1.2(Ubuntu Pro 16.04) | < 1.2.17-7ubuntu1+esm1; = 1.2.17-6ubuntu1; = 1.2.17-7ubuntu1 | 1.2.17-7ubuntu1+esm1 | Fixed |
| apache log4j | = 1.2 | No fix listed | Versions listed |
| Apache Log4j 1.x | = Apache Log4j 1.2 1.2.x | No fix listed | Versions listed |
| fedoraproject fedora | = 35 | No fix listed | Versions listed |
| oracle advanced supply chain planning | = 12.1; = 12.2 | No fix listed | Versions listed |
| oracle business intelligence | = 5.9.0.0.0; = 12.2.1.3.0; = 12.2.1.4.0 | No fix listed | Versions listed |
| oracle business process management suite | = 12.2.1.3.0; = 12.2.1.4.0 | No fix listed | Versions listed |
| oracle communications eagle ftp table base retrieval | = 4.5 | No fix listed | Versions listed |
| oracle communications messaging server | = 8.1 | No fix listed | Versions listed |
| oracle communications network integrity | = 7.3.6 | No fix listed | Versions listed |
… and 26 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| log4j/log4j(Maven) | >= 1.2.0, <= 1.2.17 | No fix listed |
| org.zenframework.z8.dependencies.commons/log4j-1.2.17(Maven) | <= 2.0 | No fix listed |
| log4j/log4j(Maven) | = 1.2.11 | No fix listed |
| log4j/log4j(Maven) | = 1.2.12 | No fix listed |
| log4j/log4j(Maven) | = 1.2.13 | No fix listed |
| log4j/log4j(Maven) | = 1.2.14 | No fix listed |
| log4j/log4j(Maven) | = 1.2.15 | No fix listed |
| log4j/log4j(Maven) | = 1.2.16 | No fix listed |
| log4j/log4j(Maven) | = 1.2.17 | No fix listed |
| log4j/log4j(Maven) | = 1.2.4 | No fix listed |
| log4j/log4j(Maven) | = 1.2.5 | No fix listed |
| log4j/log4j(Maven) | = 1.2.6 | No fix listed |
| log4j/log4j(Maven) | = 1.2.7 | No fix listed |
| log4j/log4j(Maven) | = 1.2.8 | No fix listed |
| log4j/log4j(Maven) | = 1.2.9 | No fix listed |
| org.zenframework.z8.dependencies.commons/log4j-1.2.17(Maven) | = 2.0 | No fix listed |
| debian/apache-log4j1.2(Debian:12) | < 1.2.17-11 | 1.2.17-11 |
| debian/apache-log4j1.2(Debian:13) | < 1.2.17-11 | 1.2.17-11 |
| debian/apache-log4j1.2(Debian:14) | < 1.2.17-11 | 1.2.17-11 |
| apache log4j | = 1.2 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| redhat codeready studio | = 12.0 | No fix listed |
| redhat integration camel k | All versions | No fix listed |
| redhat integration camel quarkus | All versions | No fix listed |
| redhat jboss a-mq | = 6.0.0 | No fix listed |
Show 82 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat jboss a-mq | = 7 | No fix listed |
| redhat jboss a-mq streaming | All versions | No fix listed |
| redhat jboss data grid | = 7.0.0 | No fix listed |
| redhat jboss data virtualization | = 6.0.0 | No fix listed |
| redhat jboss enterprise application platform | = 6.0.0 | No fix listed |
| redhat jboss enterprise application platform | = 7.0 | No fix listed |
| redhat jboss fuse | = 6.0.0 | No fix listed |
| redhat jboss fuse | = 7.0.0 | No fix listed |
| redhat jboss fuse service works | = 6.0 | No fix listed |
| redhat jboss operations network | = 3.0 | No fix listed |
| redhat jboss web server | = 3.0 | No fix listed |
| redhat openshift application runtimes | All versions | No fix listed |
| redhat openshift container platform | = 4.6 | No fix listed |
| redhat openshift container platform | = 4.7 | No fix listed |
| redhat openshift container platform | = 4.8 | No fix listed |
| redhat process automation | = 7.0 | No fix listed |
| redhat single sign-on | = 7.0 | No fix listed |
| redhat software collections | All versions | No fix listed |
| redhat enterprise linux | = 6.0 | No fix listed |
| redhat enterprise linux | = 7.0 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| oracle advanced supply chain planning | = 12.1 | No fix listed |
| oracle advanced supply chain planning | = 12.2 | No fix listed |
| oracle business intelligence | = 5.9.0.0.0 | No fix listed |
| oracle business intelligence | = 12.2.1.3.0 | No fix listed |
| oracle business intelligence | = 12.2.1.4.0 | No fix listed |
| oracle business process management suite | = 12.2.1.3.0 | No fix listed |
| oracle business process management suite | = 12.2.1.4.0 | No fix listed |
| oracle communications eagle ftp table base retrieval | = 4.5 | No fix listed |
| oracle communications messaging server | = 8.1 | No fix listed |
| oracle communications network integrity | = 7.3.6 | No fix listed |
| oracle communications offline mediation controller | < 12.0.0.4.0 | 12.0.0.4.0 |
| oracle communications offline mediation controller | = 12.0.0.5.0 | No fix listed |
| oracle communications unified inventory management | = 7.3.4 | No fix listed |
| oracle communications unified inventory management | = 7.3.5 | No fix listed |
| oracle communications unified inventory management | = 7.4.1 | No fix listed |
| oracle communications unified inventory management | = 7.4.2 | No fix listed |
| oracle e-business suite cloud manager and cloud backup module | = 2.2.1.1.1 | No fix listed |
| oracle enterprise manager base platform | = 13.4.0.0 | No fix listed |
| oracle enterprise manager base platform | = 13.5.0.0 | No fix listed |
| oracle financial services revenue management and billing analytics | = 2.7.0.0 | No fix listed |
| oracle financial services revenue management and billing analytics | = 2.7.0.1 | No fix listed |
| oracle financial services revenue management and billing analytics | = 2.8.0.0 | No fix listed |
| oracle fusion middleware common libraries and tools | = 12.2.1.4.0 | No fix listed |
| oracle goldengate | All versions | No fix listed |
| oracle healthcare data repository | = 8.1.0 | No fix listed |
| oracle hyperion data relationship management | < 11.2.8.0 | 11.2.8.0 |
| oracle hyperion infrastructure technology | < 11.2.8.0 | 11.2.8.0 |
| oracle identity management suite | = 12.2.1.3.0 | No fix listed |
| oracle identity management suite | = 12.2.1.4.0 | No fix listed |
| oracle jdeveloper | = 12.2.1.3.0 | No fix listed |
| oracle mysql enterprise monitor | <= 8.0.29 | No fix listed |
| oracle retail allocation | = 14.1.3.2 | No fix listed |
| oracle retail allocation | = 15.0.3.1 | No fix listed |
| oracle retail allocation | = 16.0.3 | No fix listed |
| oracle retail allocation | = 19.0.1 | No fix listed |
| oracle retail extract transform and load | = 13.2.5 | No fix listed |
| oracle stream analytics | All versions | No fix listed |
| oracle timesten grid | All versions | No fix listed |
| oracle tuxedo | = 12.2.2.0.0 | No fix listed |
| oracle utilities testing accelerator | = 6.0.0.1.1 | No fix listed |
| oracle utilities testing accelerator | = 6.0.0.2.2 | No fix listed |
| oracle utilities testing accelerator | = 6.0.0.3.1 | No fix listed |
| oracle weblogic server | = 12.2.1.3.0 | No fix listed |
| oracle weblogic server | = 12.2.1.4.0 | No fix listed |
| oracle weblogic server | = 14.1.1.0.0 | No fix listed |
| Apache Log4j 1.x | = Apache Log4j 1.2 1.2.x | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:Pro:14.04) | < 1.2.17-4ubuntu3+esm1 | 1.2.17-4ubuntu3+esm1 |
| ubuntu/apache-log4j1.2(Ubuntu:Pro:14.04) | = 1.2.17-3ubuntu1 | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:Pro:14.04) | = 1.2.17-4ubuntu1 | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:Pro:14.04) | = 1.2.17-4ubuntu2 | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:Pro:14.04) | = 1.2.17-4ubuntu3 | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:Pro:16.04) | < 1.2.17-7ubuntu1+esm1 | 1.2.17-7ubuntu1+esm1 |
| ubuntu/apache-log4j1.2(Ubuntu:Pro:16.04) | = 1.2.17-6ubuntu1 | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:Pro:16.04) | = 1.2.17-7ubuntu1 | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:18.04) | < 1.2.17-8+deb10u1ubuntu0.1 | 1.2.17-8+deb10u1ubuntu0.1 |
| ubuntu/apache-log4j1.2(Ubuntu:18.04) | = 1.2.17-7ubuntu2 | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:18.04) | = 1.2.17-8 | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:18.04) | = 1.2.17-8+deb10u1build0.18.04.1 | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:20.04) | < 1.2.17-9ubuntu0.1 | 1.2.17-9ubuntu0.1 |
| ubuntu/apache-log4j1.2(Ubuntu:20.04) | = 1.2.17-8 | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:20.04) | = 1.2.17-9 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch
- access.redhat.com
- www.cve.org
- VU#930724 third-party-advisory
- psirt.global.sonicwall.com
- security.netapp.com
- [oss-security] 20220118 CVE-2022-23302: Deserialization of untrusted data in JMSSink in Apache Log4j 1.x mailing-list
- www.oracle.com
- www.oracle.com
- www.oracle.com
- GLSA-202209-02 vendor-advisory
- GLSA-202310-16 vendor-advisory
- GLSA-202312-02 vendor-advisory
- GLSA-202312-04 vendor-advisory
- github.com
- github.com product
- Debian Security Tracker CVE-2021-4104 vendor-advisory
- ubuntu.com issue-tracking
- www.openwall.com issue-tracking
- ubuntu.com vendor-advisory
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking