CVE-2021-4104

Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2

Published Dec 14, 2021 CVSS 3.1 · 7.5 High EPSS 80.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2905-1 apache-log4j1.2 security update
Github GHSA Github GHSA GHSA-fp5r-v3w9-4333 JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data
Ubuntu USN Ubuntu USN USN-5223-1 Apache Log4j 1.2 vulnerability
Ubuntu USN Ubuntu USN USN-5223-2 Apache Log4j 1.2 vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.3::el7
Type Values Removed Values Added
First Time appeared Redhat jboss Enterprise Application Platform Eus
CPEs cpe:/a:redhat:jboss_enterprise_application_platform_eus:7.1::el7
Vendors & Products Redhat jboss Enterprise Application Platform Eus

Subscriptions

Apache Log4j
Fedoraproject Fedora
Oracle Advanced Supply Chain Planning Business Intelligence Business Process Management Suite Communications Eagle Ftp Table Base Retrieval Communications Messaging Server Communications Network Integrity Communications Offline Mediation Controller Communications Unified Inventory Management E-business Suite Cloud Manager And Cloud Backup Module Enterprise Manager Base Platform Financial Services Revenue Management And Billing Analytics Fusion Middleware Common Libraries And Tools Goldengate Healthcare Data Repository Hyperion Data Relationship Management Hyperion Infrastructure Technology Identity Management Suite Jdeveloper Mysql Enterprise Monitor Retail Allocation Retail Extract Transform And Load Stream Analytics Timesten Grid Tuxedo Utilities Testing Accelerator Weblogic Server
Redhat Codeready Studio Enterprise Linux Integration Camel K Integration Camel Quarkus Jboss A-mq Jboss A-mq Streaming Jboss Amq Jboss Data Grid Jboss Data Virtualization Jboss Enterprise Application Platform Jboss Enterprise Application Platform Eus Jboss Enterprise Web Server Jboss Fuse Jboss Fuse Service Works Jboss Operations Network Jboss Web Server Openshift Openshift Application Runtimes Openshift Container Platform Process Automation Red Hat Single Sign On Rhel Aus Rhel E4s Rhel Els Rhel Eus Rhel Software Collections Rhel Tus Rhev Manager Rhosemc Single Sign-on Software Collections
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
May 28, 2026, 7:53 PM
Reserved
Dec 13, 2021, 12:00 AM
Status
Modified
Published
Dec 14, 2021, 12:15 PM
Modified
Jun 17, 2026, 4:19 AM
Severity
Moderate
Public date
Dec 10, 2021, 12:00 AM